diff options
author | Robert Nagy <robert@openbsd.org> | 2011-04-05 11:59:42 +0200 |
---|---|---|
committer | Robert Nagy <robert@openbsd.org> | 2011-04-05 12:02:20 +0200 |
commit | ce6095ddf97a39c5c859b6a95f67b05a9185e6eb (patch) | |
tree | 16af595aaea5e81664cb1d93b8fedcfe2f2b1100 | |
parent | 0ae005f4d7b313edcd74621ccb4fc711dc942931 (diff) |
link to the correct libraries on *BSD too
-rw-r--r-- | padmin/Library_spa.mk | 9 | ||||
-rw-r--r-- | toolkit/Library_tk.mk | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/padmin/Library_spa.mk b/padmin/Library_spa.mk index 6827729d5d8d..82b3e4e8a45d 100644 --- a/padmin/Library_spa.mk +++ b/padmin/Library_spa.mk @@ -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: diff --git a/toolkit/Library_tk.mk b/toolkit/Library_tk.mk index 15c8692c1ca1..1a94bbd21ab1 100644 --- a/toolkit/Library_tk.mk +++ b/toolkit/Library_tk.mk @@ -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 \ )) |