summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-03-30 14:26:35 -0400
committerDave Reisner <dreisner@archlinux.org>2012-04-08 18:48:31 -0400
commitc5d951846d6b803909cbd7cfeac643f5feb42911 (patch)
tree75c58dd8d5d490ca07c1836e77575459000c1b9c /lib/libalpm
parentbcfc2155a0c58c8c208aa58425b36f9bcb1e7b6d (diff)
buildsys: use pkg-config for openssl detection
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am
index 61dcb877..8d1be908 100644
--- a/lib/libalpm/Makefile.am
+++ b/lib/libalpm/Makefile.am
@@ -64,6 +64,13 @@ libalpm_la_SOURCES += \
endif
libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO) @LIBCURL@
-libalpm_la_LIBADD = $(LTLIBINTL)
+
+libalpm_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(LIBSSL_CFLAGS)
+
+libalpm_la_LIBADD = \
+ $(LTLIBINTL) \
+ $(LIBSSL_LIBS)
# vim:set ts=2 sw=2 noet: