freebsd-ports/devel/libbfd/files/patch-configure
2014-08-29 20:16:45 +00:00

11 lines
370 B
Text

--- configure.orig
+++ configure
@@ -19503,7 +19503,7 @@ case "${host}" in
WIN32LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
fi
;;
-*-*-linux*)
+*)
# We borrow WIN32LIBADD so that the shared libbfd won't depend on
# libiberty.a.
x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`