You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libdap/libdap-3.7.8-nolibdir.patch

31 lines
985 B

diff -up libdap-3.7.10/dap-config.in.nolibdir libdap-3.7.10/dap-config.in
--- libdap-3.7.10/dap-config.in.nolibdir 2007-05-12 23:32:21.000000000 +0200
+++ libdap-3.7.10/dap-config.in 2008-01-02 09:48:20.000000000 +0100
@@ -4,7 +4,6 @@
#
prefix=@prefix@
exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
includedir=${prefix}/include
usage()
@@ -59,15 +58,15 @@ while test $# -gt 0; do
;;
--libs)
- echo "-L${libdir} -ldap -ldapserver -ldapclient @CURL_STATIC_LIBS@ @XML2_STATIC_LIBS@ @PTHREAD_LIBS@ @LIBS@"
+ echo "`pkg-config --libs libdap libdapserver libdapclient`"
;;
--server-libs)
- echo "-L${libdir} -ldap -ldapserver @XML2_STATIC_LIBS@ @PTHREAD_LIBS@ @LIBS@"
+ echo "`pkg-config --libs libdapserver`"
;;
--client-libs)
- echo "-L${libdir} -ldap -ldapclient @CURL_STATIC_LIBS@ @XML2_STATIC_LIBS@ @PTHREAD_LIBS@ @LIBS@"
+ echo "`pkg-config --libs libdapclient`"
;;
--prefix)