Преглед изворни кода

LIBS have to come after OBJ files for recent GCC

Wolf Vollprecht пре 3 година
родитељ
комит
d903619255
1 измењених фајлова са 1 додато и 1 уклоњено
  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] $<