diff options
author | Robert Nagy <robert@openbsd.org> | 2011-04-05 11:59:42 +0200 |
---|---|---|
committer | Robert Nagy <robert@openbsd.org> | 2011-04-05 11:59:42 +0200 |
commit | 149bb82c280a7846981793714d9111a83119798d (patch) | |
tree | b2a780b8487a42a63be5310dbaa16a4d47f6e552 /padmin | |
parent | ea42ff666f7ab3f62c5e423d5b4d98fddb460f66 (diff) |
link to the correct libraries on *BSD too
Diffstat (limited to 'padmin')
-rw-r--r-- | padmin/Library_spa.mk | 9 |
1 files changed, 7 insertions, 2 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: |