summaryrefslogtreecommitdiffstats
path: root/package/nmap
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-04 08:37:19 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-04 08:37:19 +0000
commit93a1cc78a58b1d0c95b81343e5e72910201352dd (patch)
tree2005252ef3db9de34d1b0b10656fae07bf82d55e /package/nmap
parent25bfff5314a2f5ec3a5d216d6a26f4d01758328d (diff)
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/nmap')
-rw-r--r--package/nmap/Makefile2
-rw-r--r--package/nmap/ipkg/nmap.control2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/nmap/Makefile b/package/nmap/Makefile
index 1aa8bed4c..659bff958 100644
--- a/package/nmap/Makefile
+++ b/package/nmap/Makefile
@@ -26,7 +26,7 @@ $(PKG_BUILD_DIR)/.configured:
CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
- LIBS="-luClibc++ -lc -lm" \
+ LIBS="-luClibc++ -lc -lm -lgcc" \
ac_cv_prog_CXX="$(TARGET_CXX)" \
./configure \
--target=$(GNU_TARGET_NAME) \
diff --git a/package/nmap/ipkg/nmap.control b/package/nmap/ipkg/nmap.control
index ad2a984d1..56253fda0 100644
--- a/package/nmap/ipkg/nmap.control
+++ b/package/nmap/ipkg/nmap.control
@@ -1,5 +1,5 @@
Package: nmap
Priority: optional
Section: net
-Depends: libpcap, libpcre, uclibc++
+Depends: libgcc, libpcap, libpcre, uclibc++
Description: Nmap is a free open source utility for network exploration or security auditing.