mirror of
https://git.freebsd.org/ports.git
synced 2025-05-01 11:06:39 -04:00
Remove -L/usr/lib from LDFLAGS. It causes the compiler to try to link to base libstdc++, in case it's present. PR: 241596 Approved by: lbartoletti@tuxfamily.org (maintainer), linimon (mentor)
11 lines
291 B
Text
11 lines
291 B
Text
--- configure.ac.orig 2019-04-12 20:36:11 UTC
|
|
+++ configure.ac
|
|
@@ -274,7 +274,7 @@ fi
|
|
|
|
|
|
dnl Extract the linker and include flags
|
|
-XML2_LDFLAGS=`$XML2CONFIG --libs`
|
|
+XML2_LDFLAGS=`$XML2CONFIG --libs | sed 's|-L/usr/lib||g'`
|
|
XML2_CPPFLAGS=`$XML2CONFIG --cflags`
|
|
|
|
dnl Extract the version
|