From cad391eac413570e9440616064cf8434d5d494f9 Mon Sep 17 00:00:00 2001 From: Feng Zhaolin Date: Wed, 13 Apr 2022 19:49:18 +0800 Subject: [PATCH] fix #45: libwiringpi.so link to required libraries --- wiringPi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiringPi/Makefile b/wiringPi/Makefile index 10d3087..71c38df 100755 --- a/wiringPi/Makefile +++ b/wiringPi/Makefile @@ -152,7 +152,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] $<