summaryrefslogtreecommitdiff
path: root/Makefile.plugins
diff options
context:
space:
mode:
authorNiraj Kumar Goit <niraj.g@samsung.com>2022-02-17 21:43:13 +0530
committerNiraj Kumar Goit <niraj.g@samsung.com>2022-02-23 21:00:32 +0530
commitbf0e619ef451bde3568c1af509ccb12cbda2ff93 (patch)
treeedc77ad122572a91f8ec267629fb1c4ffffabb4b /Makefile.plugins
parent2985b9822ac3f5acfef2933cbda98c1285e11af4 (diff)
parentf89b473dfd8e916314b534b3397442f8c869c783 (diff)
downloadconnman-bf0e619ef451bde3568c1af509ccb12cbda2ff93.tar.gz
connman-bf0e619ef451bde3568c1af509ccb12cbda2ff93.tar.bz2
connman-bf0e619ef451bde3568c1af509ccb12cbda2ff93.zip
Merge tag 'upstream/1.40' into tizen.submit/tizen/20220224.061208
Change-Id: I4ed89827d776db6eeec11878bc1cd0cd6c5e1e80 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com> Signed-off-by: Anjali Nijhara <a.nijhara@samsung.com>
Diffstat (limited to 'Makefile.plugins')
-rwxr-xr-xMakefile.plugins8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.plugins b/Makefile.plugins
index 004bbe9e..a0c17cfa 100755
--- a/Makefile.plugins
+++ b/Makefile.plugins
@@ -104,7 +104,9 @@ builtin_vpn_source = vpn/plugins/vpn.c vpn/plugins/vpn.h
if OPENCONNECT_BUILTIN
builtin_vpn_modules += openconnect
builtin_vpn_sources += vpn/plugins/openconnect.c
-builtin_vpn_cflags += -DOPENCONNECT=\"@OPENCONNECT@\"
+builtin_vpn_cflags += -DOPENCONNECT=\"@OPENCONNECT@\" \
+ @LIBOPENCONNECT_CFLAGS@
+builtin_vpn_libadd += @LIBOPENCONNECT_LIBS@
else
vpn_plugin_LTLIBRARIES += vpn/plugins/openconnect.la
vpn_plugin_objects += $(plugins_openconnect_la_OBJECTS)
@@ -112,8 +114,10 @@ vpn_plugins_openconnect_la_SOURCES = vpn/plugins/openconnect.c
vpn_plugins_openconnect_la_CFLAGS = $(plugin_cflags) \
-DOPENCONNECT=\"@OPENCONNECT@\" \
-DVPN_STATEDIR=\""$(vpn_statedir)"\" \
- -DSCRIPTDIR=\""$(build_scriptdir)"\"
+ -DSCRIPTDIR=\""$(build_scriptdir)"\" \
+ @LIBOPENCONNECT_CFLAGS@
vpn_plugins_openconnect_la_LDFLAGS = $(plugin_ldflags)
+vpn_plugins_openconnect_la_LIBADD = @LIBOPENCONNECT_LIBS@
endif
endif