mirror of https://github.com/OpenTTD/OpenTTD
(svn r11254) -Fix: Link with -lpthread on FreeBSD.
parent
f49a52c2ff
commit
9e3d19e392
|
@ -882,6 +882,10 @@ make_cflags_and_ldflags() {
|
||||||
LIBS="$LIBS -pthread"
|
LIBS="$LIBS -pthread"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$os" = "FREEBSD" ]; then
|
||||||
|
LIBS="$LIBS -lpthread"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$os" = "OSX" ]; then
|
if [ "$os" = "OSX" ]; then
|
||||||
LDFLAGS="$LDFLAGS -framework Cocoa"
|
LDFLAGS="$LDFLAGS -framework Cocoa"
|
||||||
if [ "$enable_dedicated" = "0" ]; then
|
if [ "$enable_dedicated" = "0" ]; then
|
||||||
|
|
Loading…
Reference in New Issue