summaryrefslogtreecommitdiff
path: root/Makefile.plugins
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-12-05 11:44:57 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-12-05 12:47:32 +0200
commitcd51552305a68809423c7058b3db79852a49dae6 (patch)
tree54c0f08a2a7b5d92085dbd7cb908be28d11f984f /Makefile.plugins
parent747e368f2d22d10b685370a0e430feeed332226f (diff)
downloadconnman-cd51552305a68809423c7058b3db79852a49dae6.tar.gz
connman-cd51552305a68809423c7058b3db79852a49dae6.tar.bz2
connman-cd51552305a68809423c7058b3db79852a49dae6.zip
build: Fix non-builtin session-plugin
The session ivi plugin needs to know where STORAGEDIR points to.
Diffstat (limited to 'Makefile.plugins')
-rw-r--r--Makefile.plugins3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.plugins b/Makefile.plugins
index 7fe2aca1..dcfc5990 100644
--- a/Makefile.plugins
+++ b/Makefile.plugins
@@ -254,7 +254,8 @@ builtin_sources += plugins/session_policy_ivi.c
else
plugin_LTLIBRARIES += plugins/session_policy_ivi.la
plugin_objects += $(plugins_session_policy_ivi_la_OBJECTS)
-plugins_session_policy_ivi_la_CFLAGS = $(plugin_cflags)
+plugins_session_policy_ivi_la_CFLAGS = $(plugin_cflags) \
+ -DSTORAGEDIR=\""$(storagedir)\""
plugins_session_policy_ivi_la_LDFLAGS = $(plugin_ldflags)
endif
endif