summaryrefslogblamecommitdiff
path: root/user/libutempter/fix-linking.patch
blob: 91719507a8310867f1d710d63363074ed1b5afe1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11









                                                                           
--- libutempter-1.1.6/Makefile.old	2010-11-04 17:14:53.000000000 +0000
+++ libutempter-1.1.6/Makefile	2018-08-29 14:47:24.740000000 +0000
@@ -52,7 +52,7 @@
 	$(COMPILE.c) -fPIC $< $(OUTPUT_OPTION)
 
 $(PROJECT): utempter.c
-	$(LINK.c) -Wl,-z,now,-stats $(LDLIBS) $< $(OUTPUT_OPTION)
+	$(LINK.c) -Wl,-z,now,-stats $< $(OUTPUT_OPTION) $(LDLIBS)
 
 $(SHAREDLIB): iface.os $(MAP)
 	$(LINK.o) -shared \