summaryrefslogtreecommitdiff
path: root/www/curl/patches/patch-curl-config.in
blob: 723caa8b4e9f909b8856a5ea277404366a0c981b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-curl-config.in,v 1.7 2015/08/08 02:44:16 spz Exp $

- make "curl-config --libs" return proper ldflags for shared libraries

--- curl-config.in.orig	2015-06-03 07:38:20.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
         ;;