Link the main binary against libpthread for NPTL builds.

This commit is contained in:
Alexandre Julliard 2003-10-12 02:20:27 +00:00
parent aff0343da5
commit 88136f26cf
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ TOPOBJDIR = ..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = wine
EXTRALIBS = @LIBPTHREAD@
C_SRCS = \
$(TOPOBJDIR)/scheduler/pthread.c \
@ -17,7 +18,7 @@ all: $(MODULE)
LDEXECFLAGS = @LDEXECFLAGS@
$(MODULE): $(OBJS) Makefile.in
$(CC) -o $@ $(LDEXECFLAGS) $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS)
$(CC) -o $@ $(LDEXECFLAGS) $(OBJS) $(LIBWINE) $(LIBPORT) $(EXTRALIBS) $(LDFLAGS)
install:: $(MODULE)
$(MKINSTALLDIRS) $(bindir)