[packages/GraphicsMagick] - enhanced ldflags patch to fix x32 build
qboosh
qboosh at pld-linux.org
Sun Dec 5 16:45:23 CET 2021
commit 0038592d229e2b5334d6808f051fb83f4ef1d98b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Dec 5 16:45:52 2021 +0100
- enhanced ldflags patch to fix x32 build
GraphicsMagick-ldflags.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/GraphicsMagick-ldflags.patch b/GraphicsMagick-ldflags.patch
index f74e6f9..18743cc 100644
--- a/GraphicsMagick-ldflags.patch
+++ b/GraphicsMagick-ldflags.patch
@@ -9,7 +9,7 @@
+new_LDFLAGS=
+for flag in $LDFLAGS ; do
+ case "$flag" in
-+ -L/usr/lib|-L/usr/lib64)
++ -L/usr/lib|-L/usr/lib64|-L/usr/libx32|-R/usr/lib|-R/usr/lib64|-R/usr/libx32)
+ ;;
+ -s|-Wl,-s|--strip-all|-Wl,--strip-all|-Wl,--as-needed|-Wl,--no-copy-dt-needed-entries)
+ new_LDFLAGS="$new_LDFLAGS $flag"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/GraphicsMagick.git/commitdiff/0038592d229e2b5334d6808f051fb83f4ef1d98b
More information about the pld-cvs-commit
mailing list