From: Stijn Tintel Date: Sat, 11 Mar 2017 08:32:19 +0000 (+0100) Subject: zlib: use default Build/Configure rule X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=610e2afdcc2a0d7ba56dccc5c941437f89d58727;p=openwrt%2Fstaging%2Fwigyori.git zlib: use default Build/Configure rule Signed-off-by: Stijn Tintel (cherry picked from commit 462ca4e059dbead678163da26fb4e14748f3021e) --- diff --git a/package/libs/zlib/Makefile b/package/libs/zlib/Makefile index 902381bdea..7e3bd83195 100644 --- a/package/libs/zlib/Makefile +++ b/package/libs/zlib/Makefile @@ -45,17 +45,15 @@ define Package/zlib-dev/description This package includes the development support files. endef -define Build/Configure - (cd $(PKG_BUILD_DIR); \ - $(TARGET_CONFIGURE_OPTS) \ - LDSHARED="$(TARGET_CC) -shared -Wl,-soname,libz.so.1" \ - CFLAGS="$(TARGET_CFLAGS) $(FPIC)" \ - ./configure \ - --prefix=/usr \ - --shared \ - --uname=Linux \ - ); -endef +CONFIGURE_VARS := \ + $(TARGET_CONFIGURE_OPTS) \ + LDSHARED="$(TARGET_CC) -shared -Wl,-soname,libz.so.1" \ + CFLAGS="$(TARGET_CFLAGS) $(FPIC)" \ + +CONFIGURE_ARGS := \ + --prefix=/usr \ + --shared \ + --uname=Linux \ define Build/Compile +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \