summaryrefslogtreecommitdiff
path: root/package/libgd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libgd/Makefile')
-rw-r--r--package/libgd/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/libgd/Makefile b/package/libgd/Makefile
index b49270804..1961edf2d 100644
--- a/package/libgd/Makefile
+++ b/package/libgd/Makefile
@@ -20,11 +20,11 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBGD,libgd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_ENV+= LIBPNG12_CONFIG="${STAGING_DIR}/usr/bin/libpng12-config"
+CONFIGURE_ENV+= LIBPNG12_CONFIG="${STAGING_TARGET_DIR}/usr/bin/libpng12-config"
CONFIGURE_ARGS+= --without-x \
--without-freetype \
- --with-jpeg=${STAGING_DIR}/usr \
- --with-png=${STAGING_DIR}/usr \
+ --with-jpeg=${STAGING_TARGET_DIR}/usr \
+ --with-png=${STAGING_TARGET_DIR}/usr \
--without-xpm
post-install: