diff options
author | maedhros <maedhros@openttd.org> | 2007-10-13 12:04:07 +0000 |
---|---|---|
committer | maedhros <maedhros@openttd.org> | 2007-10-13 12:04:07 +0000 |
commit | 385a72febac5cb91894bf34e32455b2ae7c734fc (patch) | |
tree | 85ee27014b1d1194ad5907fede71086a8bbf9706 /config.lib | |
parent | 21547b46ef6a723474b4ed22dcee9bb3464a99c8 (diff) | |
download | openttd-385a72febac5cb91894bf34e32455b2ae7c734fc.tar.xz |
(svn r11254) -Fix: Link with -lpthread on FreeBSD.
Diffstat (limited to 'config.lib')
-rw-r--r-- | config.lib | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.lib b/config.lib index fb7bb312a..177485f04 100644 --- a/config.lib +++ b/config.lib @@ -882,6 +882,10 @@ make_cflags_and_ldflags() { LIBS="$LIBS -pthread" fi + if [ "$os" = "FREEBSD" ]; then + LIBS="$LIBS -lpthread" + fi + if [ "$os" = "OSX" ]; then LDFLAGS="$LDFLAGS -framework Cocoa" if [ "$enable_dedicated" = "0" ]; then |