diff options
author | Robert Nagy <robert@openbsd.org> | 2011-04-04 15:55:58 +0200 |
---|---|---|
committer | Robert Nagy <robert@openbsd.org> | 2011-04-04 15:58:16 +0200 |
commit | 0ae005f4d7b313edcd74621ccb4fc711dc942931 (patch) | |
tree | 87d458fb2edf2b701bc658668236a6968b3fbabe /padmin | |
parent | 965ad89b84463f04456ca3f91e50c8106176477f (diff) |
link to pthread on linux and *bsd
Diffstat (limited to 'padmin')
-rw-r--r-- | padmin/Executable_spadmin.bin.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/padmin/Executable_spadmin.bin.mk b/padmin/Executable_spadmin.bin.mk index ac6f19cccdc8..5f958d406965 100644 --- a/padmin/Executable_spadmin.bin.mk +++ b/padmin/Executable_spadmin.bin.mk @@ -59,10 +59,15 @@ $(eval $(call gb_Executable_add_exception_objects,spadmin.bin,\ padmin/source/pamain \ )) +ifneq (,$(filter LINUX DRAGONFLY OPENBSD FREEBSD NETBSD, $(OS))) +$(eval $(call gb_Executable_add_linked_libs,spadmin.bin,\ + pthread \ +)) +endif + ifeq ($(OS),LINUX) $(eval $(call gb_Executable_add_linked_libs,spadmin.bin,\ dl \ - pthread \ )) endif |