Browse Source

Merge pull request #114 from wolfv/patch-1

LIBS have to come after OBJ files for recent GCC
pull/115/head
Mark Liffiton 3 years ago
committed by GitHub
parent
commit
afddd8c504
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      wiringPi/Makefile

+ 1
- 1
wiringPi/Makefile View File

@@ -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] $<


Loading…
Cancel
Save