ports/databases/pointcloud/files/patch-configure.ac
Piotr Kubaj 0c849d4f56 databases/pointcloud: fix build on GCC architectures
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)
2019-10-31 16:44:39 +00:00

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