pkgsrc-ng/www/curl/patches/patch-curl-config.in
2014-08-11 13:27:10 +02:00

19 lines
588 B
Plaintext

$NetBSD: patch-curl-config.in,v 1.4 2014/03/30 12:57:54 spz Exp $
- make "curl-config --libs" return proper ldflags for shared libraries
--- curl-config.in.orig 2014-01-05 22:07:54.000000000 +0000
+++ curl-config.in
@@ -148,9 +148,9 @@ while test $# -gt 0; do
CURLLIBDIR=""
fi
if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then
- echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@
+ echo @LDFLAGS@ ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@
else
- echo ${CURLLIBDIR}-lcurl
+ echo @LDFLAGS@ ${CURLLIBDIR}-lcurl
fi
;;