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:55:58 +0200 |
commit | ea42ff666f7ab3f62c5e423d5b4d98fddb460f66 (patch) | |
tree | 6602b2e2482e50d67d0e1e713e0c97c2bac3e373 /padmin | |
parent | 469af1528615df1e2b075f782b08d237f02fa69f (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 |