diff options
author | Clément Péron <peron.clem@gmail.com> | 2022-12-07 12:27:29 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-12-08 17:10:47 -0800 |
commit | cae5b12981374c03885cd8ec6b444c27654e7895 (patch) | |
tree | a7b1d3130b59c928088567dff1e48ec780e649df /meta-oe/recipes-navigation | |
parent | b69eb8bde0233614e9e6f69faa07bd2add4c10a3 (diff) | |
download | meta-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.bb | 3 |
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 | ||
17 | BBCLASSEXTEND = "native" | 17 | BBCLASSEXTEND = "native" |
18 | 18 | ||
19 | PACKAGECONFIG ?= "curl" | 19 | PACKAGECONFIG ?= "curl shared" |
20 | PACKAGECONFIG:append:class-native = " apps" | 20 | PACKAGECONFIG:append:class-native = " apps" |
21 | 21 | ||
22 | PACKAGECONFIG[apps] = "-DBUILD_APPS=ON, -DBUILD_APPS=OFF" | 22 | PACKAGECONFIG[apps] = "-DBUILD_APPS=ON, -DBUILD_APPS=OFF" |
23 | PACKAGECONFIG[curl] = "-DENABLE_CURL=ON,-DENABLE_CURL=OFF,curl" | 23 | PACKAGECONFIG[curl] = "-DENABLE_CURL=ON,-DENABLE_CURL=OFF,curl" |
24 | PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,," | ||
24 | PACKAGECONFIG[tiff] = "-DENABLE_TIFF=ON,-DENABLE_TIFF=OFF,tiff" | 25 | PACKAGECONFIG[tiff] = "-DENABLE_TIFF=ON,-DENABLE_TIFF=OFF,tiff" |