diff --git a/recipes-support/clucene/clucene-core_2.3.3.4.bb b/recipes-support/clucene/clucene-core_2.3.3.4.bb index b309959..5afb5e5 100644 --- a/recipes-support/clucene/clucene-core_2.3.3.4.bb +++ b/recipes-support/clucene/clucene-core_2.3.3.4.bb @@ -21,8 +21,9 @@ inherit cmake DEPENDS = "boost zlib" -EXTRA_OECMAKE = "-DENABLE_COMPILE_TESTS=OFF -DBUILD_CONTRIBS_LIB=ON" - -FILES_${PN}-dev += "${libdir}/cmake" +EXTRA_OECMAKE = " \ + -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ + -DENABLE_COMPILE_TESTS=OFF \ + -DBUILD_CONTRIBS_LIB=ON" BBCLASSEXTEND = "native"