shithub: mc

Download patch

ref: 48e0b7f86600cc9d280e3bd1248025f715a0a482
parent: 5e0c7cc7675adf25f01f33f0fd4b6243ae37f527
author: Carlin Bingham <[email protected]>
date: Tue Jan 16 20:13:00 EST 2018

Add dynamic linker flags for Linux to configure

--- a/configure
+++ b/configure
@@ -49,7 +49,8 @@
         echo export INST_MAN=$prefix/share/man/man >> config.mk
         echo 'const Sys = "Linux"' >> mbld/config.myr
         echo 'const Linkcmd = ["ld"]' >> mbld/config.myr
-        echo 'const Dlflags : byte[:][:] = [][:]' >> mbld/config.myr
+        echo 'const Dlflags = ["-dynamic-linker",' \
+            '"/lib64/ld-linux-x86-64.so.2"]' >> mbld/config.myr
         echo "const Manpath = \"share/man/man\"" >> mbld/config.myr
         ;;
     *Darwin*)