diff mbox

SV: [PATCH 14/18] libtiff: Fix compilation (no need to split static files)

Message ID BD22328D0EB182418C2A0952DC2454F88086FED9@VMPREVAS2.prevas.se
State Not Applicable
Headers show

Commit Message

kim.hansen@prevas.dk Jan. 5, 2015, 3:20 p.m. UTC
Hi Yann,

Please re-submit this without the double addition of RECIPE_TYPES

Could you check if it could also use auto-package-utils ?

Br,
Kim
diff mbox

Patch

diff --git a/recipes/libtiff/tiff.inc b/recipes/libtiff/tiff.inc
index 45e97f2..7a3ed20 100644
--- a/recipes/libtiff/tiff.inc
+++ b/recipes/libtiff/tiff.inc
@@ -6,14 +6,12 @@  RECIPE_TYPES = "machine native"

 SRC_URI = "ftp://ftp.remotesensing.org/pub/libtiff/tiff-${PV}.tar.gz"

-inherit autotools c++
+RECIPE_TYPES = "machine native"
+
+inherit autotools c++ library

 OECONF_ARCHTUPLE = "ax_cv_check_gl_libgl=no"

-PACKAGES =+ "${PN}-staticdev ${PN}-utils ${PN}-utils-dbg"
-FILES_${PN} += "${libdir}/libtiffxx.so.*"
-FILES_${PN}-dev += "${libdir}/libtiffxx.so ${libdir}/libtiffxx.la"
-FILES_${PN}-staticdev = "${libdir}/libtiffxx.a"
-FILES_${PN}-dbg += "${libdir}/.debug/libtiffxx.so*"
+PACKAGES =+ "${PN}-utils ${PN}-utils-dbg"
 FILES_${PN}-utils = "${bindir}/*"
 FILES_${PN}-utils-dbg += "${bindir}/.debug/"