mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-28 17:19:17 +01:00
Fix pthread fail for real
Using a hack...
This commit is contained in:
1 parent
8cb8209c91
commit
33231a855f
1 file changed
+3
-1
@@ -81,7 +81,9 @@ if HAVE_FREETYPE
|
||||
TEST_PROGS += test-multithread
|
||||
test_multithread_CFLAGS = $(CFLAGS) $(PTHREAD_CFLAGS) $(FREETYPE_CFLAGS)
|
||||
test_multithread_LDADD = $(LDADD) $(PTHREAD_LIBS) $(FREETYPE_LIBS)
|
||||
test_multithread_LINK = $(LINK) $(test_multithread_LDADD)
|
||||
# The auto-generated link rule somehow includes CFLAGS as well. Without
|
||||
# it, pthread link fails, because, who knows why, $PTHREAD_LIBS is empty.
|
||||
test_multithread_LINK = $(LINK) $(PTHREAD_CFLAGS)
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user