summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-03-30 14:37:06 -0400
committerDave Reisner <dreisner@archlinux.org>2012-04-08 18:48:31 -0400
commitb2226ed11bca158ab32199b5899802a78a42f5aa (patch)
tree5d5e9d5a3a6334f4e9be7c449c3524888dfdf71f /lib
parent059c572ca5c0f3ac9d90c53f0c0bdc8e4fb0336f (diff)
buildsys: use pkg-config for libcurl detection
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am
index 3773f2df..c34079c7 100644
--- a/lib/libalpm/Makefile.am
+++ b/lib/libalpm/Makefile.am
@@ -63,16 +63,18 @@ libalpm_la_SOURCES += \
base64.h base64.c
endif
-libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO) @LIBCURL@
+libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO)
libalpm_la_CFLAGS = \
$(AM_CFLAGS) \
$(LIBARCHIVE_CFLAGS) \
+ $(LIBCURL_CFLAGS) \
$(LIBSSL_CFLAGS)
libalpm_la_LIBADD = \
$(LTLIBINTL) \
$(LIBARCHIVE_LIBS) \
+ $(LIBCURL_LIBS) \
$(LIBSSL_LIBS)
# vim:set ts=2 sw=2 noet: