1--- misc/build/openssl-3.0.13/Configurations/00-base-templates.conf 2024-04-14 20:51:59.953276000 +0200 2+++ misc/build/openssl-3.0.13/Configurations/00-base-templates.conf 2024-04-15 04:41:41.558374000 +0200 3@@ -67,9 +67,13 @@ 4 5 AR => "ar", 6 ARFLAGS => "qc", 7+ ASFLAGS => "-Wa,--noexecstack", 8 CC => "cc", 9 lflags => 10- sub { $withargs{zlib_lib} ? "-L".$withargs{zlib_lib} : () }, 11+ sub { 12+ my $s = '-Wl,-z,origin -Wl,-rpath,\$$ORIGIN'; 13+ return $withargs{zlib_lib} ? $s." -L".$withargs{zlib_lib} : $s; 14+ }, 15 ex_libs => 16 sub { !defined($disabled{zlib}) 17 && defined($disabled{"zlib-dynamic"}) 18