X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/01359a31212f55fa52c55972e003dda5893e4c2b..22a1832e50a0d9a43fd3388976994bd3d6cc13c1:/openwrt/package/samba/Makefile diff --git a/openwrt/package/samba/Makefile b/openwrt/package/samba/Makefile index 7a083b3a4..2d9defc34 100644 --- a/openwrt/package/samba/Makefile +++ b/openwrt/package/samba/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=samba PKG_VERSION:=2.0.10 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MD5SUM:=54870482fe036b7e69dd48c90661eec6 PKG_SOURCE_URL:=ftp://se.samba.org/pub/samba/stable \ @@ -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 \ @@ -119,6 +119,7 @@ $(PKG_BUILD_DIR)/.built: $(DISABLE_NLS) \ --with-lockdir=/var/run/samba \ --with-privatedir=/etc/samba \ + --with-syslog \ ); $(MAKE) -C $(PKG_BUILD_DIR)/source \ $(TARGET_CONFIGURE_OPTS) \ @@ -160,6 +161,7 @@ $(IPKG_SAMBA): install -m0755 $(PKG_BUILD_DIR)/source/bin/smbd.shared $(IDIR_SAMBA)/usr/sbin/smbd install -d -m0755 $(IDIR_SAMBA)/usr/share/samba install -m0644 $(PKG_INSTALL_DIR)/usr/share/samba/codepage.{437,850} $(IDIR_SAMBA)/usr/share/samba/ + install -m0644 $(PKG_INSTALL_DIR)/usr/share/samba/unicode_map.{437,850} $(IDIR_SAMBA)/usr/share/samba/ $(RSTRIP) $(IDIR_SAMBA) $(IPKG_BUILD) $(IDIR_SAMBA) $(PACKAGE_DIR)