aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fancontroled/link.patch
blob: 328e78062d927a89818af9174795f74d217a9ba8 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./Makefile.orig
+++ ./Makefile
@@ -12,7 +12,7 @@
 OBJECTS = $(SOURCES:.c=.o)
 
 $(FANCONTROLED_TARGET): $(OBJECTS) $(HEADERS)
-	$(CC) $(CFLAGS) $(LDFLAGS) $(INC_PATH) $(LIBS) $(OBJECTS) -D $(MACROS) -o $(FANCONTROLED_TARGET)
+	$(CC) $(CFLAGS) $(LDFLAGS) $(INC_PATH) $(OBJECTS) -D $(MACROS) -o $(FANCONTROLED_TARGET) $(LIBS)
 
 $(OBJECTS): $(SOURCES)
 	$(CC) $(CFLAGS) $(LDFLAGS) $(INC_PATH) $(LIBS) -D $(MACROS) -c $(@:.o=.c)