From 152b881475d2c11fc183669d3d57ed6ac201ef0b Mon Sep 17 00:00:00 2001 From: Carlin Bingham Date: Tue, 16 Jan 2018 23:36:24 +1300 Subject: 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 088e8c2..ce2313b 100755 --- a/configure +++ b/configure @@ -84,7 +84,7 @@ case $OS in 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 ;; *) -- cgit v1.1