SHA256
3
0
forked from pool/flex
flex/flex-2.5.34-asneeded.patch

16 lines
474 B
Diff

libraries need to be last
Index: tests/test-pthread/Makefile.am
===================================================================
--- tests/test-pthread/Makefile.am.orig
+++ tests/test-pthread/Makefile.am
@@ -37,7 +37,7 @@ scanner.c: $(srcdir)/scanner.l
$(FLEX) $(LFLAGS) $<
$(testname)$(EXEEXT): $(OBJS)
- $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LOADLIBES)
+ $(CC) -o $@ $(OBJS) $(LOADLIBES) $(LDFLAGS)
test: $(testname)$(EXEEXT)
./$(testname) $(srcdir)/test-*.input