aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-04-07 13:24:34 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-04-07 13:24:34 +0000
commit1a14b8e920c738a832cb47d1d351c01e5bb36069 (patch)
treead64083f8570818417913c9258aef05ed1b5201d /Makefile
parentdd853e28e730e357bcf1580cb1718a4df693c628 (diff)
libpthread needs to be explicitly linked to on Windows
svn path=/trunk/externals/pdogg/; revision=13387
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 67ac319..55a89ff 100644
--- a/Makefile
+++ b/Makefile
@@ -119,7 +119,7 @@ ifeq (CYGWIN,$(findstring CYGWIN,$(UNAME)))
OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer
CFLAGS +=
LDFLAGS += -Wl,--export-dynamic -shared -L$(PD_PATH)/src
- LIBS += -lc -lpd
+ LIBS += -lc -lpd -lpthread
STRIP = strip --strip-unneeded -R .note -R .comment
DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION)
DISTBINDIR=$(DISTDIR)-$(OS)
@@ -131,7 +131,7 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME)))
OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer -march=i686 -mtune=pentium4
CFLAGS += -mms-bitfields
LDFLAGS += -s -shared -Wl,--enable-auto-import
- LIBS += -L$(PD_PATH)/src -L$(PD_PATH)/bin -L$(PD_PATH)/obj -lpd -lwsock32 -lkernel32 -luser32 -lgdi32
+ LIBS += -L$(PD_PATH)/src -L$(PD_PATH)/bin -L$(PD_PATH)/obj -lpd -lwsock32 -lkernel32 -luser32 -lgdi32 -lpthreadGC2
STRIP = strip --strip-unneeded -R .note -R .comment
DISTDIR=$(LIBRARY_NAME)-$(LIBRARY_VERSION)
DISTBINDIR=$(DISTDIR)-$(OS)