summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlin Bingham <cb@viennan.net>2018-01-17 01:22:01 +1300
committerCarlin Bingham <cb@viennan.net>2018-01-17 01:57:28 +1300
commit1f2656eeadb7b3230f92fbdfe1f31eebc5f81a71 (patch)
tree875227e56e904771a50597ae59aac74383f690c0
parent48e0b7f86600cc9d280e3bd1248025f715a0a482 (diff)
downloadmc-1f2656eeadb7b3230f92fbdfe1f31eebc5f81a71.tar.gz
Add dynamic linker flags for OpenBSD to configure
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index d5f003e..c1d433c 100755
--- a/configure
+++ b/configure
@@ -90,7 +90,8 @@ case $OS in
echo export INST_MAN=$prefix/man/man >> config.mk
echo 'const Sys = "OpenBSD"' >> mbld/config.myr
echo 'const Linkcmd = ["ld", "-nopie"]' >> mbld/config.myr
- echo 'const Dlflags : byte[:][:] = [][:]' >> mbld/config.myr
+ echo 'const Dlflags = ["-dynamic-linker",' \
+ '"/usr/libexec/ld.so"]' >> mbld/config.myr
echo "const Manpath = \"man/man\"" >> mbld/config.myr
;;
*)