link to the correct libraries on *BSD too

This commit is contained in:
Robert Nagy
2011-04-05 11:59:42 +02:00
parent 0ae005f4d7
commit ce6095ddf9
2 changed files with 8 additions and 3 deletions

View File

@@ -62,12 +62,17 @@ $(eval $(call gb_Library_add_exception_objects,spa,\
padmin/source/titlectrl \
))
ifeq ($(OS),LINUX)
ifneq (,$(filter LINUX DRAGONFLY OPENBSD FREEBSD NETBSD, $(OS)))
$(eval $(call gb_Library_add_linked_libs,spa,\
dl \
m \
pthread \
))
endif
ifeq ($(OS),LINUX)
$(eval $(call gb_Library_add_linked_libs,spa,\
dl \
))
endif
# vim: set noet sw=4 ts=4:

View File

@@ -163,7 +163,7 @@ $(eval $(call gb_Library_set_cxxflags,tk,\
$$(CXXFLAGS) $(gb_OBJCXXFLAGS)))
endif
ifeq ($(OS),LINUX)
ifneq (,$(filter LINUX DRAGONFLY OPENBSD FREEBSD NETBSD, $(OS)))
$(eval $(call gb_Library_add_linked_libs,tk,\
X11 \
))