blob: e3386a2d964f5251c9ca072b28679a2ee629d51b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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
|