Explicitly link gthread in to fix some application that use scintilla.

This commit is contained in:
Maxim Sobolev 2003-02-06 13:08:45 +00:00
parent f1226554d7
commit af95885194
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74970

View File

@ -2,7 +2,7 @@
$FreeBSD$
--- makefile.orig Fri Jan 10 13:35:52 2003
+++ makefile Thu Feb 6 10:48:09 2003
+++ makefile Thu Feb 6 15:05:00 2003
@@ -6,8 +6,8 @@
# To build for GTK+ 2, define GTK2 on the make command line.
@ -60,10 +60,10 @@ $FreeBSD$
RESearch.o Style.o Indicator.o AutoComplete.o UniConversion.o XPM.o
- $(AR) rc $@ $^
- $(RANLIB) $@
+ $(AR) -o $@ $^
+ $(AR) $(shell $(GTK_CONFIG) --libs gthread) -o $@ $^
+
+ $(LEXRLIB): $(LEXOBJS)
+ $(AR) -o $@ $^
+ $(AR) $(shell $(GTK_CONFIG) --libs gthread) -o $@ $^
# Automatically generate header dependencies with "make deps"
include deps.mak