diff options
| author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2006-01-04 08:37:19 +0000 |
|---|---|---|
| committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2006-01-04 08:37:19 +0000 |
| commit | e74f05f29b3b0bc6e3e0cfb83a10a1a9cdcea2df (patch) | |
| tree | 6b5fd954a8bceb44d8c0716b5017b18ae7a2292a /openwrt/package/samba | |
| parent | 1c59bfaaf40a3da51600e2fbfff62cfd85012fd9 (diff) | |
| download | mtk-20170518-e74f05f29b3b0bc6e3e0cfb83a10a1a9cdcea2df.zip mtk-20170518-e74f05f29b3b0bc6e3e0cfb83a10a1a9cdcea2df.tar.gz mtk-20170518-e74f05f29b3b0bc6e3e0cfb83a10a1a9cdcea2df.tar.bz2 | |
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.
SVN-Revision: 2817
Diffstat (limited to 'openwrt/package/samba')
| -rw-r--r-- | openwrt/package/samba/Makefile | 2 | ||||
| -rw-r--r-- | openwrt/package/samba/ipkg/samba.control | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/package/samba/Makefile b/openwrt/package/samba/Makefile index 566e604..584ed9a 100644 --- a/openwrt/package/samba/Makefile +++ b/openwrt/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/openwrt/package/samba/ipkg/samba.control b/openwrt/package/samba/ipkg/samba.control index 503ce72..c1cf603 100644 --- a/openwrt/package/samba/ipkg/samba.control +++ b/openwrt/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 |
