configure plugin path in scripts

This commit is contained in:
Andreas Steffen
2008-06-29 14:43:50 +00:00
parent 39b7780df9
commit 1b7db64f6f
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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
+1 -1
View File
@@ -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);