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