summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-11-30 00:41:05 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-11-30 00:41:05 +0100
commit8cb219bfdc0ae3763e19a0f96511f32f9b06e243 (patch)
tree1d4e6fc03a267b02e4e2df9257649dc099de628f /Makefile.am
parentc77bce46779cd2c9f25b7be78243f34a0ef1777e (diff)
downloadconnman-8cb219bfdc0ae3763e19a0f96511f32f9b06e243.tar.gz
connman-8cb219bfdc0ae3763e19a0f96511f32f9b06e243.tar.bz2
connman-8cb219bfdc0ae3763e19a0f96511f32f9b06e243.zip
Check for capabilities support via libcap-ng
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index d4c26a9b..e63e3683 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -58,7 +58,7 @@ src_connmand_SOURCES += src/udev-compat.c
endif
src_connmand_LDADD = $(builtin_libadd) \
- @GLIB_LIBS@ @DBUS_LIBS@ @UDEV_LIBS@ -ldl
+ @GLIB_LIBS@ @DBUS_LIBS@ @CAPNG_LIBS@ @UDEV_LIBS@ -ldl
src_connmand_LDFLAGS = -Wl,--export-dynamic -Wl,--version-script=src/connman.ver
@@ -83,7 +83,8 @@ build_plugindir = $(plugindir)
build_scriptdir = $(scriptdir)
endif
-AM_CFLAGS = @UDEV_CFLAGS@ @NETLINK_CFLAGS@ @DBUS_CFLAGS@ \
+AM_CFLAGS = @UDEV_CFLAGS@ @NETLINK_CFLAGS@ @CAPNG_CFLAGS@ \
+ @DBUS_CFLAGS@ @GLIB_CFLAGS@ $(builtin_cflags) \
@GLIB_CFLAGS@ $(builtin_cflags) \
-DCONNMAN_PLUGIN_BUILTIN \
-DSTATEDIR=\""$(statedir)"\" \