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 | 9e3d19e392e1dbf04616ec4ed2dc14f57c73db5c (patch) | |
tree | 85ee27014b1d1194ad5907fede71086a8bbf9706 | |
parent | f49a52c2ffc79d203771934a72007eb20409c772 (diff) | |
download | openttd-9e3d19e392e1dbf04616ec4ed2dc14f57c73db5c.tar.xz |
(svn r11254) -Fix: Link with -lpthread on FreeBSD.
-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 |