summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-01-22 22:45:17 +1300
committerOri Bernstein <ori@eigenstate.org>2016-05-08 17:20:43 +1200
commit9d757335b10d0796259a963f5700692190df42b3 (patch)
treeac1f68d8a4b10f9b2f2d9984871058f8228651df /configure
parentedd7580d861f87f29b6fc8d6a11ad92cb37d6e13 (diff)
downloadmc-9d757335b10d0796259a963f5700692190df42b3.tar.gz
Put strings in reasonable places on OpenBSD.
This probably causes horrendous amounts of text relocations, but it seems to work.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 0de8817..195ea44 100755
--- a/configure
+++ b/configure
@@ -85,7 +85,9 @@ case $OS in
echo '#define Symprefix ""' >> config.h
echo '#define Defaultasm Gnugas' >> config.h
echo 'export SYS=openbsd' >> config.mk
- echo 'const Linkcmd = ["ld", "-static", "-o"]' >> mbld/config.myr
+ echo 'const Linkcmd = ["ld", "-static",' \
+ '"-Bstatic", "-dynamic-linker", "/usr/libexec/ld.so"' \
+ ',"-o"]' >> mbld/config.myr
echo 'const Sys = "OpenBSD"' >> mbld/config.myr
;;
*)