From c4e697fac6fb17149cded2a76189932f6cfc5230 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Thu, 2 Aug 2007 14:48:26 +0000 Subject: [PATCH] * improved libpcap to build and install shared libraries if the target supports it (close ticket #384) git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21897 10447126-35f2-4685-b0cf-6dd780d3921f --- base/libpcap/libpcap.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/base/libpcap/libpcap.conf b/base/libpcap/libpcap.conf index 1cf154a1e..6b9de95ed 100644 --- a/base/libpcap/libpcap.conf +++ b/base/libpcap/libpcap.conf @@ -14,6 +14,13 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- +# build and install shared libraries if the target supports it +if [ "$SDECFG_STATIC" != '1' ] ; then + var_append makeopt ' ' "shared" + var_append makeinstopt ' ' "install-shared" + hook_add postmake 6 "cd $root/$libdir; ln -svf libpcap.so{.$ver,}" +fi + # enable IPv6 support by default var_append confopt ' ' '--enable-ipv6'