Explorar o código

LIBS have to come after OBJ files for recent GCC

Wolf Vollprecht %!s(int64=3) %!d(string=hai) anos
pai
achega
d903619255
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      wiringPi/Makefile

+ 1 - 1
wiringPi/Makefile

@@ -75,7 +75,7 @@ static:
 
 $(DYNAMIC):	$(OBJ)
 	$Q echo "[Link (Dynamic)]"
-	$Q $(CC) -shared -Wl,-soname,libwiringPi.so$(WIRINGPI_SONAME_SUFFIX) -o libwiringPi.so.$(VERSION) $(LIBS) $(OBJ)
+	$Q $(CC) -shared -Wl,-soname,libwiringPi.so$(WIRINGPI_SONAME_SUFFIX) -o libwiringPi.so.$(VERSION) $(OBJ) $(LIBS)
 
 .c.o:
 	$Q echo [Compile] $<