소스 검색

Remove "ignoring duplicate libraries" warnings during tests

DarthSim 7 달 전
부모
커밋
ca409b4809
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      .lefthook/pre-push/test

+ 1 - 0
.lefthook/pre-push/test

@@ -4,6 +4,7 @@ if [ -x "$(which brew)" ]; then
   export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(brew --prefix libffi)/lib/pkgconfig"
   export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(brew --prefix libarchive)/lib/pkgconfig"
   export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(brew --prefix cfitsio)/lib/lib/pkgconfig"
+  export CGO_LDFLAGS="$CGO_LDFLAGS -Wl,-no_warn_duplicate_libraries"
 fi
 
 export CGO_LDFLAGS_ALLOW="-s|-w"