summaryrefslogtreecommitdiff
path: root/package/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'package/zlib')
-rw-r--r--package/zlib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/zlib/Makefile b/package/zlib/Makefile
index 8360fea86..0bf048448 100644
--- a/package/zlib/Makefile
+++ b/package/zlib/Makefile
@@ -46,8 +46,8 @@ do-configure:
(cd $(WRKBUILD); $(COPTS) \
uname="Linux" \
CFLAGS="$(TARGET_CFLAGS) -fPIC" \
- CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
- LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
+ CPPFLAGS="-I$(STAGING_TARGET_DIR)/usr/include" \
+ LDFLAGS="-L$(STAGING_TARGET_DIR)/usr/lib" \
./configure \
--prefix=/usr \
$(CONFIGURE_OPTS) \