diff options
Diffstat (limited to 'recipes-devtools/wiringPi/files/0001-Add-initial-cross-compile-support.patch')
-rw-r--r-- | recipes-devtools/wiringPi/files/0001-Add-initial-cross-compile-support.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-devtools/wiringPi/files/0001-Add-initial-cross-compile-support.patch b/recipes-devtools/wiringPi/files/0001-Add-initial-cross-compile-support.patch index ed47fab..603422c 100644 --- a/recipes-devtools/wiringPi/files/0001-Add-initial-cross-compile-support.patch +++ b/recipes-devtools/wiringPi/files/0001-Add-initial-cross-compile-support.patch | |||
@@ -51,7 +51,7 @@ index 0fb0033..cbea759 100644 | |||
51 | $(DYNAMIC): $(OBJ) | 51 | $(DYNAMIC): $(OBJ) |
52 | $Q echo "[Link (Dynamic)]" | 52 | $Q echo "[Link (Dynamic)]" |
53 | - $Q $(CC) -shared -Wl,-soname,libwiringPiDev.so$(WIRINGPI_SONAME_SUFFIX) -o libwiringPiDev.so.$(VERSION) -lpthread $(OBJ) | 53 | - $Q $(CC) -shared -Wl,-soname,libwiringPiDev.so$(WIRINGPI_SONAME_SUFFIX) -o libwiringPiDev.so.$(VERSION) -lpthread $(OBJ) |
54 | + $Q $(CC) -shared -Wl,-soname,$(BASE_NAME).so.$(DYN_VERS_MAJ) -o $(BASE_NAME).so -lpthread $(OBJ) | 54 | + $Q $(CC) -shared $(LDFLAGS) -Wl,-soname,$(BASE_NAME).so.$(DYN_VERS_MAJ) -o $(BASE_NAME).so -lpthread $(OBJ) |
55 | 55 | ||
56 | .c.o: | 56 | .c.o: |
57 | $Q echo [Compile] $< | 57 | $Q echo [Compile] $< |
@@ -341,7 +341,7 @@ index 6bbcc5d..5355b74 100644 | |||
341 | $(DYNAMIC): $(OBJ) | 341 | $(DYNAMIC): $(OBJ) |
342 | $Q echo "[Link (Dynamic)]" | 342 | $Q echo "[Link (Dynamic)]" |
343 | - $Q $(CC) -shared -Wl,-soname,libwiringPi.so$(WIRINGPI_SONAME_SUFFIX) -o libwiringPi.so.$(VERSION) -lpthread $(OBJ) | 343 | - $Q $(CC) -shared -Wl,-soname,libwiringPi.so$(WIRINGPI_SONAME_SUFFIX) -o libwiringPi.so.$(VERSION) -lpthread $(OBJ) |
344 | + $Q $(CC) -shared -Wl,-soname,$(BASE_NAME).so.$(DYN_VERS_MAJ) -o $(BASE_NAME).so -lpthread $(OBJ) | 344 | + $Q $(CC) $(LDFLAGS) -shared -Wl,-soname,$(BASE_NAME).so.$(DYN_VERS_MAJ) -o $(BASE_NAME).so -lpthread $(OBJ) |
345 | 345 | ||
346 | .c.o: | 346 | .c.o: |
347 | $Q echo [Compile] $< | 347 | $Q echo [Compile] $< |