Date: Friday, January 5, 2007 @ 17:49:52
Author: gilles
Path: /cvsroot/carob/carob/make-includes
Modified: freebsd.mk (1.4 -> 1.5)
-lpthread is now the first library in the list of LDLIBS
Temporary fix required by CAROB-117, but this should be made as default!
------------+
freebsd.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
Index: carob/make-includes/freebsd.mk
diff -u carob/make-includes/freebsd.mk:1.4 carob/make-includes/freebsd.mk:1.5
--- carob/make-includes/freebsd.mk:1.4 Thu Jan 4 21:10:12 2007
+++ carob/make-includes/freebsd.mk Fri Jan 5 17:49:52 2007
@@ -4,7 +4,9 @@
# same thing for libiconv
override CPPFLAGS += -I/usr/local/include
override LDFLAGS += -L/usr/local/lib
-
+# this forces pthread to be linked before any other libs
+# TODO: this should be the default!
+override LDLIBS += -lpthread
# std::locale("en_US.UTF-8") does not seen to work on FreeBSD 6.2 PRERELEASE?
# fallback on Iconv
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits