[babl] tests: make babl build on haiku



commit 70358bbe1dc672700cbb8800d55a004175aee409
Author: Øyvind Kolås <pippin gimp org>
Date:   Thu Sep 14 21:24:22 2017 +0200

    tests: make babl build on haiku
    
    Using -lphtread instead of -pthread in Makefile.am fixes the build when using
    gcc-x86 under haiku, figured out by schumaml.

 tests/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 4c3841f..ac46eb7 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -35,7 +35,7 @@ TESTS_ENVIRONMENT = LD_LIBRARY_PATH=$(top_builddir)/babl:$LD_LIBRARY_PATH GI_TYP
 
 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/babl
 if OS_UNIX
-AM_LDFLAGS  = -pthread
+AM_LDFLAGS  = -lpthread
 endif
 
 LDADD = $(top_builddir)/babl/libbabl-@BABL_API_VERSION@.la \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]