mirror of
https://git.yoctoproject.org/poky
synced 2026-02-08 09:46:38 +01:00
Despite our efforts to make static linking work, there have been new reports of bizarre build failures: https://lists.openembedded.org/g/openembedded-core/message/194006 https://lists.openembedded.org/g/openembedded-core/message/193907 This commit changes back to dynamic linking, but places the libraries in a custom location, per RP's suggestion. (From OE-Core rev: b93562937737e97dbc8cb7c874e9913f6a285a34) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
1.2 KiB
PHP
33 lines
1.2 KiB
PHP
DISABLE_STATIC ?= " --disable-static"
|
|
|
|
# qemu aborts on unrecognised option
|
|
DISABLE_STATIC:pn-qemu = ""
|
|
DISABLE_STATIC:pn-qemu-native = ""
|
|
DISABLE_STATIC:pn-nativesdk-qemu = ""
|
|
DISABLE_STATIC:pn-qemu-system-native = ""
|
|
# needed by gdb
|
|
DISABLE_STATIC:pn-readline = ""
|
|
# openjade/sgml-common have build issues without static libs
|
|
DISABLE_STATIC:pn-sgml-common-native = ""
|
|
DISABLE_STATIC:pn-openjade-native = ""
|
|
# openssl has build issues without static libs
|
|
DISABLE_STATIC:pn-openssl = ""
|
|
DISABLE_STATIC:pn-openssl-native = ""
|
|
DISABLE_STATIC:pn-nativesdk-openssl = ""
|
|
# libssp-static-dev included in build-appliance
|
|
DISABLE_STATIC:pn-gcc-runtime = ""
|
|
# libusb1-native is used to build static dfu-util-native
|
|
DISABLE_STATIC:pn-libusb1-native = ""
|
|
# needed by rust
|
|
DISABLE_STATIC:pn-musl = ""
|
|
|
|
EXTRA_OECONF:append = "${DISABLE_STATIC}"
|
|
|
|
EXTRA_OECMAKE:append:pn-libical = " -DSHARED_ONLY=True"
|
|
EXTRA_OECMAKE:append:pn-libjpeg-turbo = " -DENABLE_STATIC=False"
|
|
EXTRA_OECMAKE:append:pn-libjpeg-turbo-native = " -DENABLE_STATIC=False"
|
|
|
|
EXCONFIG_ARGS:append:pn-ncurses = " --without-normal"
|
|
EXCONFIG_ARGS:append:pn-ncurses-native = " --without-normal"
|
|
EXCONFIG_ARGS:append:pn-nativesdk-ncurses = " --without-normal"
|