Browse Source

* 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
early
Christian Wiese 17 years ago
parent
commit
c4e697fac6
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      base/libpcap/libpcap.conf

+ 7
- 0
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'

Loading…
Cancel
Save