Browse Source

create dynamic link without version

pull/57/head^2
Michal Stasiak 6 years ago
parent
commit
d259d59df8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      wiringPi/Makefile

+ 2
- 2
wiringPi/Makefile View File

@@ -32,7 +32,7 @@ Q ?= @
endif

STATIC=libwiringPi.a
DYNAMIC=$(LIB_PATH)libwiringPi.so.$(VERSION)
DYNAMIC=$(LIB_PATH)libwiringPi.so

#DEBUG = -g -O0
DEBUG = -O2
@@ -78,7 +78,7 @@ $(STATIC): $(OBJ)

$(DYNAMIC): $(OBJ)
$Q echo "[Link (Dynamic)]"
$Q $(CC) -shared -Wl,-soname,libwiringPi.so$(WIRINGPI_SONAME_SUFFIX) -o $@ $(LIBS) $(OBJ)
$Q $(CC) -shared -Wl,-soname,libwiringPi.so -o $@ $(LIBS) $(OBJ)

.c.o:
$Q echo [Compile] $<


Loading…
Cancel
Save