ref: 152b881475d2c11fc183669d3d57ed6ac201ef0b
parent: bc72f16e90932998ac4a404af25ce72efeada9a3
author: Carlin Bingham <[email protected]>
date: Tue Jan 16 18:36:24 EST 2018
Remove implicit -static from OpenBSD linker cmd -static is the default if no dynamic libraries are specified but it being implicitly set overrides dynamic linking if they are
--- a/configure
+++ b/configure
@@ -84,7 +84,7 @@
echo 'export SYS=openbsd' >> config.mk
echo export INST_MAN=$prefix/man/man >> config.mk
echo 'const Sys = "OpenBSD"' >> mbld/config.myr
- echo 'const Linkcmd = ["ld", "-static", "-nopie"]' >> mbld/config.myr
+ echo 'const Linkcmd = ["ld", "-nopie"]' >> mbld/config.myr
echo "const Manpath = \"man/man\"" >> mbld/config.myr
;;
*)