Skip to content

Commit

Permalink
Merge pull request WiringPi#114 from wolfv/patch-1
Browse files Browse the repository at this point in the history
LIBS have to come after OBJ files for recent GCC
  • Loading branch information
liffiton authored Jun 15, 2021
2 parents 8b33c32 + d903619 commit afddd8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wiringPi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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] $<
Expand Down

0 comments on commit afddd8c

Please sign in to comment.