diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2014-04-07 23:55:20 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-04-07 23:55:20 +0200 |
commit | 3d03017f53c2566ed32a0ae76d79eeb1ef4a7feb (patch) | |
tree | 521471979538b690d28a6f79108e731811585f33 /package/harfbuzz | |
parent | f46f81de1315e6807a5309c0183d8bf336d14000 (diff) |
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>
Diffstat (limited to 'package/harfbuzz')
-rw-r--r-- | package/harfbuzz/harfbuzz.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/harfbuzz/harfbuzz.mk b/package/harfbuzz/harfbuzz.mk index 23bc84814..ed440ed72 100644 --- a/package/harfbuzz/harfbuzz.mk +++ b/package/harfbuzz/harfbuzz.mk @@ -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 |