From 4bdad4464ecbeca9c95420991878707ea8712455 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karsten=20Ball=C3=BCder?= Date: Mon, 31 Jan 2000 16:02:31 +0000 Subject: [PATCH] FreeBSD library naming fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 36a527a432..83014388dc 100644 --- a/configure.in +++ b/configure.in @@ -1525,7 +1525,13 @@ dnl ) dnl ) TOOLKIT_INCLUDE="$GTK_CFLAGS" - GUI_TK_LIBRARY="$GTK_LIBS -lgthread" +dnl On FreeBSD, the libs are called gtk12 etc, so we must append gthread12 + echo $GTK_LIBS | fgrep -q "glib12" + if test $? = 0 ; then + GUI_TK_LIBRARY="$GTK_LIBS -gthread12" + else + GUI_TK_LIBRARY="$GTK_LIBS -lgthread" + fi TOOLKIT=GTK AFMINSTALL=afminstall -- 2.50.0