Added LDFLAGS to linking of wine-related binaries.
This commit is contained in:
parent
8a31634a00
commit
d2e2bb240a
|
@ -43,7 +43,7 @@ lex.yy.c: debug.l
|
|||
$(LEX) -8 -I $(SRCDIR)/debug.l
|
||||
|
||||
winedbg: $(OBJS)
|
||||
$(CC) -o $@ $(OBJS) $(DLL_LINK) $(LIBS)
|
||||
$(CC) -o $@ $(OBJS) $(DLL_LINK) $(LIBS) $(LDFLAGS)
|
||||
|
||||
install:: $(PROGRAMS)
|
||||
[ -d $(bindir) ] || $(MKDIR) $(bindir)
|
||||
|
|
|
@ -43,7 +43,7 @@ all: $(PROGRAMS)
|
|||
@MAKE_RULES@
|
||||
|
||||
wineserver: $(OBJS)
|
||||
$(CC) -o $(PROGRAMS) $(OBJS) -L$(TOPOBJDIR) -lwine_unicode $(LIBS)
|
||||
$(CC) -o $(PROGRAMS) $(OBJS) -L$(TOPOBJDIR) -lwine_unicode $(LIBS) $(LDFLAGS)
|
||||
|
||||
install:: $(PROGRAMS)
|
||||
[ -d $(bindir) ] || $(MKDIR) $(bindir)
|
||||
|
|
|
@ -24,7 +24,7 @@ all: $(PROGRAMS)
|
|||
@MAKE_RULES@
|
||||
|
||||
winebuild: $(OBJS) $(TOPOBJDIR)/libwine_unicode.$(LIBEXT)
|
||||
$(CC) $(CFLAGS) -o winebuild $(OBJS) -L$(TOPOBJDIR) -lwine_unicode
|
||||
$(CC) $(CFLAGS) -o winebuild $(OBJS) -L$(TOPOBJDIR) -lwine_unicode $(LDFLAGS)
|
||||
|
||||
$(TOPOBJDIR)/libwine_unicode.$(LIBEXT):
|
||||
cd $(TOPOBJDIR) && $(MAKE) libwine_unicode.$(LIBEXT)
|
||||
|
|
|
@ -26,7 +26,7 @@ depend mcl.o: y.tab.h
|
|||
@MAKE_RULES@
|
||||
|
||||
wmc: $(OBJS) $(TOPOBJDIR)/libwine_unicode.$(LIBEXT)
|
||||
$(CC) $(CFLAGS) -o wmc $(OBJS) -L$(TOPOBJDIR) -lwine_unicode $(LEXLIB)
|
||||
$(CC) $(CFLAGS) -o wmc $(OBJS) -L$(TOPOBJDIR) -lwine_unicode $(LEXLIB) $(LDFLAGS)
|
||||
|
||||
$(TOPOBJDIR)/libwine_unicode.$(LIBEXT):
|
||||
cd $(TOPOBJDIR) && $(MAKE) libwine_unicode.$(LIBEXT)
|
||||
|
|
|
@ -31,7 +31,7 @@ depend: y.tab.h ppy.tab.h
|
|||
@MAKE_RULES@
|
||||
|
||||
wrc: $(OBJS) $(TOPOBJDIR)/libwine_unicode.$(LIBEXT)
|
||||
$(CC) $(CFLAGS) -o wrc $(OBJS) -L$(TOPOBJDIR) -lwine_unicode $(LEXLIB)
|
||||
$(CC) $(CFLAGS) -o wrc $(OBJS) -L$(TOPOBJDIR) -lwine_unicode $(LEXLIB) $(LDFLAGS)
|
||||
|
||||
$(TOPOBJDIR)/libwine_unicode.$(LIBEXT):
|
||||
cd $(TOPOBJDIR) && $(MAKE) libwine_unicode.$(LIBEXT)
|
||||
|
|
Loading…
Reference in New Issue