浏览代码

Merge pull request #114 from wolfv/patch-1

LIBS have to come after OBJ files for recent GCC
pull/115/head
Mark Liffiton 3 年前
committed by GitHub
父节点
当前提交
afddd8c504
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      wiringPi/Makefile

+ 1
- 1
wiringPi/Makefile 查看文件

@@ -75,7 +75,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] $<


正在加载...
取消
保存