X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8afb23270d23db6a033ba8fb77e1cf1a1d925a7c..7e450a1c869a5b227e3c91c4e71049059f1193e6:/package/zlib/Makefile?ds=sidebyside diff --git a/package/zlib/Makefile b/package/zlib/Makefile index df4a4753f..74544bc86 100644 --- a/package/zlib/Makefile +++ b/package/zlib/Makefile @@ -34,6 +34,7 @@ define Build/Configure $(TARGET_CONFIGURE_OPTS) \ LDSHARED="$(TARGET_CC) -shared -Wl,-soname,libz.so.1" \ CFLAGS="$(TARGET_CFLAGS) $(CFLAGS_LARGEFILE)" \ + UNAME_S="Linux" \ ./configure \ --prefix=/usr \ --shared \ @@ -66,7 +67,7 @@ define Build/UninstallDev endef define Package/zlib/install - install -d -m0755 $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libz.so.* $(1)/usr/lib/ endef