|
|
@ -45,17 +45,15 @@ define Package/zlib-dev/description |
|
|
|
This package includes the development support files.
|
|
|
|
This package includes the development support files.
|
|
|
|
endef |
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
define Build/Configure |
|
|
|
CONFIGURE_VARS := \
|
|
|
|
(cd $(PKG_BUILD_DIR); \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
|
|
LDSHARED="$(TARGET_CC) -shared -Wl,-soname,libz.so.1" \
|
|
|
|
LDSHARED="$(TARGET_CC) -shared -Wl,-soname,libz.so.1" \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS) $(FPIC)" \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS) $(FPIC)" \
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
CONFIGURE_ARGS := \
|
|
|
|
--prefix=/usr \
|
|
|
|
--prefix=/usr \
|
|
|
|
--shared \
|
|
|
|
--shared \
|
|
|
|
--uname=Linux \
|
|
|
|
--uname=Linux \
|
|
|
|
);
|
|
|
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define Build/Compile |
|
|
|
define Build/Compile |
|
|
|
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
|
|
|
|
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
|
|
|
|