mirror of
https://github.com/clockworkpi/WiringPi.git
synced 2025-12-15 09:08:51 +01:00
Merge pull request #114 from wolfv/patch-1
LIBS have to come after OBJ files for recent GCC
This commit is contained in:
commit
afddd8c504
@ -75,7 +75,7 @@ static:
|
|||||||
|
|
||||||
$(DYNAMIC): $(OBJ)
|
$(DYNAMIC): $(OBJ)
|
||||||
$Q echo "[Link (Dynamic)]"
|
$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:
|
.c.o:
|
||||||
$Q echo [Compile] $<
|
$Q echo [Compile] $<
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user