Link the main binary against libpthread for NPTL builds.
This commit is contained in:
parent
aff0343da5
commit
88136f26cf
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue