summaryrefslogtreecommitdiff
path: root/package/libtiff/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libtiff/Makefile')
-rw-r--r--package/libtiff/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/libtiff/Makefile b/package/libtiff/Makefile
index 90aa220d4..13bc06ac5 100644
--- a/package/libtiff/Makefile
+++ b/package/libtiff/Makefile
@@ -15,9 +15,13 @@ PKG_SITES:= ftp://ftp.remotesensing.org/pub/libtiff/
DISTFILES:= tiff-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/tiff-${PKG_VERSION}
+ifeq ($(ADK_STATIC),y)
+PKG_OPTS:= libonly
+endif
+
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBTIFF,libtiff,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBTIFF,libtiff,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-cxx
@@ -26,6 +30,6 @@ INSTALL_STYLE= auto
post-install:
${INSTALL_DIR} ${IDIR_LIBTIFF}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libtiff.so.* ${IDIR_LIBTIFF}/usr/lib/
+ ${CP} ${WRKINST}/usr/lib/libtiff.so* ${IDIR_LIBTIFF}/usr/lib/
include ${TOPDIR}/mk/pkg-bottom.mk