diff options
author | Daniel Linjama <daniel@dev.linjama.com> | 2022-04-07 15:30:44 +0300 |
---|---|---|
committer | Daniel Wagner <wagi@monom.org> | 2022-04-08 09:18:21 +0200 |
commit | a18acc883b7312d425eb0565e5f2c4d5235f2182 (patch) | |
tree | 421c023c42c5c348e40210e1f8f82332ec983df0 /Makefile.plugins | |
parent | cb87ddd2f5905782b45c0e46277fcf7f32de16af (diff) | |
download | connman-a18acc883b7312d425eb0565e5f2c4d5235f2182.tar.gz |
build: Support configurable run dir with RUNSTATEDIR
Add configurable $(runstatedir) to CFLAGS as RUNSTATEDIR
Diffstat (limited to 'Makefile.plugins')
-rw-r--r-- | Makefile.plugins | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.plugins b/Makefile.plugins index 8e323617..bd5049ec 100644 --- a/Makefile.plugins +++ b/Makefile.plugins @@ -138,6 +138,7 @@ vpn_plugin_objects += $(plugins_vpnc_la_OBJECTS) vpn_plugins_vpnc_la_SOURCES = vpn/plugins/vpnc.c vpn_plugins_vpnc_la_CFLAGS = $(plugin_cflags) -DVPNC=\"@VPNC@\" \ -DVPN_STATEDIR=\""$(vpn_statedir)"\" \ + -DRUNSTATEDIR=\""$(runstatedir)"\" \ -DSCRIPTDIR=\""$(build_scriptdir)"\" vpn_plugins_vpnc_la_LDFLAGS = $(plugin_ldflags) endif |