mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
b69eb8bde0
commit
cae5b12981
|
|
@ -16,9 +16,10 @@ FILES:${PN} += "${datadir}/proj"
|
|||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
PACKAGECONFIG ?= "curl"
|
||||
PACKAGECONFIG ?= "curl shared"
|
||||
PACKAGECONFIG:append:class-native = " apps"
|
||||
|
||||
PACKAGECONFIG[apps] = "-DBUILD_APPS=ON, -DBUILD_APPS=OFF"
|
||||
PACKAGECONFIG[curl] = "-DENABLE_CURL=ON,-DENABLE_CURL=OFF,curl"
|
||||
PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,,"
|
||||
PACKAGECONFIG[tiff] = "-DENABLE_TIFF=ON,-DENABLE_TIFF=OFF,tiff"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user