summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-navigation
diff options
context:
space:
mode:
authorClément Péron <peron.clem@gmail.com>2022-12-07 12:27:29 +0100
committerKhem Raj <raj.khem@gmail.com>2022-12-08 17:10:47 -0800
commitcae5b12981374c03885cd8ec6b444c27654e7895 (patch)
treea7b1d3130b59c928088567dff1e48ec780e649df /meta-oe/recipes-navigation
parentb69eb8bde0233614e9e6f69faa07bd2add4c10a3 (diff)
downloadmeta-openembedded-cae5b12981374c03885cd8ec6b444c27654e7895.tar.gz
proj: add a packageconfig to build as a static library
Add a packageconfig to build Proj as a static library. Keep the library shared by default. Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-navigation')
-rw-r--r--meta-oe/recipes-navigation/proj/proj_9.1.0.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-navigation/proj/proj_9.1.0.bb b/meta-oe/recipes-navigation/proj/proj_9.1.0.bb
index ab69f0776..818c87bf0 100644
--- a/meta-oe/recipes-navigation/proj/proj_9.1.0.bb
+++ b/meta-oe/recipes-navigation/proj/proj_9.1.0.bb
@@ -16,9 +16,10 @@ FILES:${PN} += "${datadir}/proj"
16 16
17BBCLASSEXTEND = "native" 17BBCLASSEXTEND = "native"
18 18
19PACKAGECONFIG ?= "curl" 19PACKAGECONFIG ?= "curl shared"
20PACKAGECONFIG:append:class-native = " apps" 20PACKAGECONFIG:append:class-native = " apps"
21 21
22PACKAGECONFIG[apps] = "-DBUILD_APPS=ON, -DBUILD_APPS=OFF" 22PACKAGECONFIG[apps] = "-DBUILD_APPS=ON, -DBUILD_APPS=OFF"
23PACKAGECONFIG[curl] = "-DENABLE_CURL=ON,-DENABLE_CURL=OFF,curl" 23PACKAGECONFIG[curl] = "-DENABLE_CURL=ON,-DENABLE_CURL=OFF,curl"
24PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,,"
24PACKAGECONFIG[tiff] = "-DENABLE_TIFF=ON,-DENABLE_TIFF=OFF,tiff" 25PACKAGECONFIG[tiff] = "-DENABLE_TIFF=ON,-DENABLE_TIFF=OFF,tiff"