aboutsummaryrefslogtreecommitdiffstats
path: root/package/kismet
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openwrt.org>2006-01-04 08:37:19 +0000
committerWaldemar Brodkorb <wbx@openwrt.org>2006-01-04 08:37:19 +0000
commit13b12c06c87998480e2642cb762693694f0c3b0f (patch)
tree2005252ef3db9de34d1b0b10656fae07bf82d55e /package/kismet
parent9feda69af9dd6682ef0f92a4f63c223f1174e18b (diff)
downloadupstream-13b12c06c87998480e2642cb762693694f0c3b0f.tar.gz
upstream-13b12c06c87998480e2642cb762693694f0c3b0f.tar.bz2
upstream-13b12c06c87998480e2642cb762693694f0c3b0f.zip
patch for spec file of gcc 3.4.4, so that libgss library is not
automatically linked into every binary. explicitely link it into needed packages (kismet, nmap, samba) and add dependencies. idea and patch from sven-ola, thx. Saves 16 kb in the default squashfs images. git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2817 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kismet')
-rw-r--r--package/kismet/Makefile4
-rw-r--r--package/kismet/ipkg/kismet.control2
2 files changed, 3 insertions, 3 deletions
diff --git a/package/kismet/Makefile b/package/kismet/Makefile
index 366fddddba..58e3f501ad 100644
--- a/package/kismet/Makefile
+++ b/package/kismet/Makefile
@@ -28,7 +28,7 @@ $(PKG_BUILD_DIR)/.configured:
CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(LINUX_DIR)/include" \
LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
- LIBS="-luClibc++ -lc -lm" \
+ LIBS="-luClibc++ -lc -lm -lgcc" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
@@ -58,7 +58,7 @@ $(PKG_BUILD_DIR)/.configured:
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
- LIBS="-luClibc++ -lc -lm" \
+ LIBS="-luClibc++ -lc -lm -lgcc" \
all
touch $@
diff --git a/package/kismet/ipkg/kismet.control b/package/kismet/ipkg/kismet.control
index ef77d815f5..193328563c 100644
--- a/package/kismet/ipkg/kismet.control
+++ b/package/kismet/ipkg/kismet.control
@@ -1,7 +1,7 @@
Package: kismet
Priority: optional
Section: net
-Depends: kismet-client, kismet-server
+Depends: libgcc, kismet-client, kismet-server
Description: kismet
Kismet is an 802.11 layer2 wireless network detector,
sniffer, and intrusion detection system. Kismet will work with any