aboutsummaryrefslogtreecommitdiffstats
path: root/package/samba
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/samba
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/samba')
-rw-r--r--package/samba/Makefile2
-rw-r--r--package/samba/ipkg/samba.control2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/samba/Makefile b/package/samba/Makefile
index 566e604a03..584ed9a044 100644
--- a/package/samba/Makefile
+++ b/package/samba/Makefile
@@ -58,7 +58,7 @@ $(PKG_BUILD_DIR)/.built:
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE -DNDEBUG -DSHMEM_SIZE=524288 -Dfcntl=fcntl64" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
- LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
+ LDFLAGS="-lgcc_s -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
ac_cv_lib_cups_httpConnect=no \
ac_cv_sizeof_int=4 \
ac_cv_sizeof_long=4 \
diff --git a/package/samba/ipkg/samba.control b/package/samba/ipkg/samba.control
index 503ce7240c..c1cf603c4d 100644
--- a/package/samba/ipkg/samba.control
+++ b/package/samba/ipkg/samba.control
@@ -1,5 +1,5 @@
Package: samba
Priority: optional
Section: net
-Depends:
+Depends: libgcc
Description: NetBIOS/SMB file and print server