浏览代码

create dynamic link without version

pull/57/head^2
Michal Stasiak 6 年前
父节点
当前提交
d259d59df8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      wiringPi/Makefile

+ 2
- 2
wiringPi/Makefile 查看文件

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


正在加载...
取消
保存