summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/magic/files/magic-7.5.231-ldflags.patch')
-rw-r--r--sci-electronics/magic/files/magic-7.5.231-ldflags.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-electronics/magic/files/magic-7.5.231-ldflags.patch b/sci-electronics/magic/files/magic-7.5.231-ldflags.patch
new file mode 100644
index 00000000000..32555d66f81
--- /dev/null
+++ b/sci-electronics/magic/files/magic-7.5.231-ldflags.patch
@@ -0,0 +1,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"
+ ;;
+