diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2011-11-15 13:06:22 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-11-15 13:41:44 +0100 |
commit | eda0a20c40387a7de352ef7bd8c58e3b738b84d5 (patch) | |
tree | 24a13dc3c9f1bcfb5a267df07d01b33fa1ded1c2 /Makefile.plugins | |
parent | 8a25f50775aaa9116d247d26f90d7a9ab9b84c38 (diff) | |
download | connman-eda0a20c40387a7de352ef7bd8c58e3b738b84d5.tar.gz connman-eda0a20c40387a7de352ef7bd8c58e3b738b84d5.tar.bz2 connman-eda0a20c40387a7de352ef7bd8c58e3b738b84d5.zip |
scripts: Compile libppp-plugin.so properly
Diffstat (limited to 'Makefile.plugins')
-rw-r--r-- | Makefile.plugins | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.plugins b/Makefile.plugins index c029111f..58b04944 100644 --- a/Makefile.plugins +++ b/Makefile.plugins @@ -3,6 +3,8 @@ plugin_cflags = -fvisibility=hidden -I$(srcdir)/gdbus \ @DBUS_CFLAGS@ @GLIB_CFLAGS@ plugin_ldflags = -no-undefined -module -avoid-version +script_cflags = -fvisibility=hidden -I$(srcdir)/gdbus \ + @DBUS_CFLAGS@ if LOOPBACK if LOOPBACK_BUILTIN @@ -174,6 +176,18 @@ plugins_pptp_la_LDFLAGS = $(plugin_ldflags) endif endif +if PPTP +script_LTLIBRARIES += scripts/libppp-plugin.la +scripts_libppp_plugin_la_LDFLAGS = $(script_cflags) @DBUS_CFLAGS@ +scripts_libppp_plugin_la_LIBADD = @DBUS_LIBS@ +else +if L2TP +script_LTLIBRARIES += scripts/libppp-plugin.la +scripts_libppp_plugin_la_LDFLAGS = $(script_cflags) @DBUS_CFLAGS@ +scripts_libppp_plugin_la_LIBADD = @DBUS_LIBS@ +endif +endif + builtin_sources += $(builtin_vpn_sources) if PACRUNNER |