configure plugin path in scripts
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan
|
INCLUDES = -I$(top_srcdir)/src/libstrongswan
|
||||||
|
AM_CFLAGS =-DIPSEC_PLUGINDIR=\"${plugindir}\"
|
||||||
|
|
||||||
noinst_PROGRAMS = bin2array bin2sql id2sql key2keyid
|
noinst_PROGRAMS = bin2array bin2sql id2sql key2keyid
|
||||||
bin2array_SOURCES = bin2array.c
|
bin2array_SOURCES = bin2array.c
|
||||||
|
|||||||
+1
-1
@@ -22,7 +22,7 @@ int main(int argc, char *argv[])
|
|||||||
//dbg = dbg_stderr;
|
//dbg = dbg_stderr;
|
||||||
|
|
||||||
library_init(NULL);
|
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);
|
atexit(library_deinit);
|
||||||
|
|
||||||
read = fread(buf, 1, sizeof(buf), stdin);
|
read = fread(buf, 1, sizeof(buf), stdin);
|
||||||
|
|||||||
Reference in New Issue
Block a user