Browse Source

Merge pull request #1 from devbharat/feature/coustom_libpath_noVer

create dynamic link without version
pull/57/head
Bharat Tak 6 years ago
committed by GitHub
parent
commit
b9ff70b315
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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