X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1241032b014375e84d28fcb3630f98a8f8432f59..5ed5b75f5cbf11de7fb27f00cb921ab88e7e1e5b:/package/samba/Makefile diff --git a/package/samba/Makefile b/package/samba/Makefile index 566e604a0..584ed9a04 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 \