summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am6
-rw-r--r--configure.ac3
2 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index c6218c1..bb33843 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -52,7 +52,7 @@ libopkg_include_HEADERS= \
#\ replace/replace.h
#libopkg_la_LIBADD = libbb/libbb.la replace/libreplace.a
-libopkg_la_LIBADD = libbb/libbb.la $(CURL_LIBS)
+libopkg_la_LIBADD = libbb/libbb.la $(CURL_LIBS) $(GPGME_LIBS)
opkg_core_sources = args.c args.h opkg.c \
user.c user.h
@@ -97,9 +97,9 @@ libopkg_la_SOURCES = $(opkg_libcore_sources) $(opkg_cmd_sources) $(opkg_db_sourc
opkg_cl_SOURCES = opkg-frontend.c
-libopkg_la_CFLAGS = -DOPKG_LIB $(ALL_CFLAGS) $(CURL_CFLAGS)
+libopkg_la_CFLAGS = -DOPKG_LIB $(ALL_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS)
-opkg_CFLAGS = $(ALL_CFLAGS) $(CURL_CFLAGS)
+opkg_CFLAGS = $(ALL_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS)
opkg_cl_CFLAGS = -DOPKG_LIB $(ALL_CFLAGS)
diff --git a/configure.ac b/configure.ac
index 2048313..3e1d0bb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,7 +66,8 @@ else
AC_MSG_ERROR(GPGME $min_gpgme_version or later needed)
fi
-
+AC_SUBST(GPGME_CFLAGS)
+AC_SUBST(GPGME_LIBS)
# Checks for header files