summaryrefslogtreecommitdiff
blob: 32555d66f81e703a72796ab5d88edcbaf602a331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- magic-7.5.231/scripts/configure.in
+++ magic-7.5.231/scripts/configure.in
@@ -1428,11 +1428,11 @@
       ;;
 
     *-linux*)
-      LDDL_FLAGS='-shared -Wl,-soname,$@'
+      LDDL_FLAGS+=' -shared -Wl,-soname,$@'
       if test "x${loader_run_path}" != "x" ; then
         LD_RUN_PATH="${LD_RUN_PATH} -Wl,-rpath,${loader_run_path}"
       fi
-      LDFLAGS=""
+      LDFLAGS+=" "
       EXTRA_LIB_SPECS="-ldl"
       ;;