mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-27 23:43:34 +08:00
harfbuzz: fix static linking of test programs when toolchain has threads support
Fixes http://autobuild.buildroot.net/results/701/701a1a260a58a81f45b3b9eae7eb47b400e05b37/ Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
f46f81de13
commit
3d03017f53
@ -13,6 +13,11 @@ HARFBUZZ_INSTALL_STAGING = YES
|
||||
|
||||
HARFBUZZ_CONF_OPT = --without-coretext --without-uniscribe --without-graphite2
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
# forgets to link test programs with -pthread breaking static link
|
||||
HARFBUZZ_CONF_ENV = LDFLAGS="$(TARGET_LDFLAGS) -pthread"
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CAIRO),y)
|
||||
HARFBUZZ_DEPENDENCIES += cairo
|
||||
HARFBUZZ_CONF_OPT += --with-cairo=yes
|
||||
|
Loading…
Reference in New Issue
Block a user