diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2008-06-29 14:43:50 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2008-06-29 14:43:50 +0000 |
commit | 1b7db64f6fc052f8e4d98550b2bf76b687dd67fe (patch) | |
tree | 7e040c9ea51748fc1dd97f3070ff46744c9b43f8 /scripts | |
parent | 39b7780df9de9ee1d7258584d5e2d696d4d875f5 (diff) | |
download | strongswan-1b7db64f6fc052f8e4d98550b2bf76b687dd67fe.tar.bz2 strongswan-1b7db64f6fc052f8e4d98550b2bf76b687dd67fe.tar.xz |
configure plugin path in scripts
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.am | 1 | ||||
-rw-r--r-- | scripts/key2keyid.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 5e47bb47e..845409c69 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -1,4 +1,5 @@ INCLUDES = -I$(top_srcdir)/src/libstrongswan +AM_CFLAGS =-DIPSEC_PLUGINDIR=\"${plugindir}\" noinst_PROGRAMS = bin2array bin2sql id2sql key2keyid bin2array_SOURCES = bin2array.c diff --git a/scripts/key2keyid.c b/scripts/key2keyid.c index 3c488e5d3..b74ac70b7 100644 --- a/scripts/key2keyid.c +++ b/scripts/key2keyid.c @@ -22,7 +22,7 @@ int main(int argc, char *argv[]) //dbg = dbg_stderr; library_init(NULL); - lib->plugins->load(lib->plugins, "/usr/local/libexec/ipsec/plugins", "gmp pubkey sha1"); + lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR, "gmp pubkey sha1"); atexit(library_deinit); read = fread(buf, 1, sizeof(buf), stdin); |