summaryrefslogtreecommitdiff
path: root/www/curl/patches/patch-curl-config.in
blob: ccf58619a08ca2f26f153df265f3ed06d1270715 (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.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
         ;;