diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-05-25 22:31:25 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-05-25 22:31:25 +0000 |
commit | 7c51fe16b435712423dd00145008ab58a95fdc5e (patch) | |
tree | d9dc1739d1a2ef2f211f036f08c17a3fc7d6c833 /plugin/defer/build | |
parent | 344ee9181734dcd5a922b8b2a7ebea4ce818a0b0 (diff) | |
download | openvpn-7c51fe16b435712423dd00145008ab58a95fdc5e.tar.gz openvpn-7c51fe16b435712423dd00145008ab58a95fdc5e.tar.xz openvpn-7c51fe16b435712423dd00145008ab58a95fdc5e.zip |
Fixed a bug in plugin.c that caused openvpn_plugin_client_destructor_v1
to not be called for the top-level "generic" client template.
Added additional documentation to openvpn-plugin.h that more clearly
illustrates the full sequence and ordering of plugin callbacks
(plugin/defer/simple.c was extended to provide the raw data for this
documentation).
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2973 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'plugin/defer/build')
-rwxr-xr-x | plugin/defer/build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/defer/build b/plugin/defer/build index 8b628a2..5907afa 100755 --- a/plugin/defer/build +++ b/plugin/defer/build @@ -8,7 +8,7 @@ # This directory is where we will look for openvpn-plugin.h INCLUDE="-I../.." -CC_FLAGS="-O2 -Wall" +CC_FLAGS="-O2 -Wall -g" gcc $CC_FLAGS -fPIC -c $INCLUDE $1.c && \ -gcc -fPIC -shared -Wl,-soname,$1.so -o $1.so $1.o -lc +gcc $CC_FLAGS -fPIC -shared -Wl,-soname,$1.so -o $1.so $1.o -lc |