projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f46f81d
)
harfbuzz: fix static linking of test programs when toolchain has threads support
author
Peter Korsgaard
<peter@korsgaard.com>
Mon, 7 Apr 2014 21:55:20 +0000
(23:55 +0200)
committer
Peter Korsgaard
<peter@korsgaard.com>
Mon, 7 Apr 2014 21:55:20 +0000
(23:55 +0200)
Fixes http://autobuild.buildroot.net/results/701/
701a1a260a58a81f45b3b9eae7eb47b400e05b37
/
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/harfbuzz/harfbuzz.mk
patch
|
blob
|
history
diff --git
a/package/harfbuzz/harfbuzz.mk
b/package/harfbuzz/harfbuzz.mk
index 23bc8481465fb98f74a18b680b4a67749e542119..ed440ed727bb03252500300f752accab54abacd3 100644
(file)
--- 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