summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-04-26 18:22:07 +0200
committerMarcel Holtmann <marcel@holtmann.org>2012-04-26 18:22:07 +0200
commit378ff8d3f3cb933e37d214c21a420706a43796ef (patch)
treef01e8e3ea176336a0e267c656ab1669b3c63996c /Makefile.am
parente15d75f63fb5b9aef8e1ec68a00e9c901ea6e1df (diff)
downloadconnman-378ff8d3f3cb933e37d214c21a420706a43796ef.tar.gz
connman-378ff8d3f3cb933e37d214c21a420706a43796ef.tar.bz2
connman-378ff8d3f3cb933e37d214c21a420706a43796ef.zip
build: Fix broken build without GnuTLS
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index eafbe414..d7b547e0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -65,7 +65,7 @@ sbin_PROGRAMS = src/connmand
src_connmand_SOURCES = $(gdbus_sources) $(gdhcp_sources) \
gweb/gweb.h gweb/gweb.c \
gweb/gresolv.h gweb/gresolv.c \
- gweb/giognutls.h gweb/gionotls.c \
+ gweb/giognutls.h gweb/giognutls.c \
$(builtin_sources) src/connman.ver \
src/main.c src/connman.h src/log.c \
src/error.c src/plugin.c src/task.c \
@@ -83,7 +83,8 @@ src_connmand_SOURCES = $(gdbus_sources) $(gdhcp_sources) \
src/ippool.c src/bridge.c src/nat.c
src_connmand_LDADD = $(builtin_libadd) @GLIB_LIBS@ @DBUS_LIBS@ \
- @CAPNG_LIBS@ @XTABLES_LIBS@ -lresolv -ldl
+ @CAPNG_LIBS@ @XTABLES_LIBS@ \
+ @GNUTLS_LIBS@ -lresolv -ldl
src_connmand_LDFLAGS = -Wl,--export-dynamic \
-Wl,--version-script=$(srcdir)/src/connman.ver
@@ -122,7 +123,7 @@ AM_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@ @CAPNG_CFLAGS@ @XTABLES_CFLAGS@ \
INCLUDES = -I$(builddir)/include -I$(builddir)/src -I$(srcdir)/gdbus
EXTRA_DIST = src/genbuiltin src/connman-dbus.conf src/connman-polkit.conf \
- plugins/connman-nmcompat.conf
+ plugins/connman-nmcompat.conf gweb/gionotls.c
script_DATA =