yet another fix

This commit is contained in:
Wolfgang Hottgenroth 2019-06-12 18:33:30 +02:00
parent 10e26675a5
commit 330044a12e
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -39,7 +39,7 @@ build:
- env DESTDIR=$BUILD_DIR make install - env DESTDIR=$BUILD_DIR make install
- popd - popd
- pushd parts/mosquitto-go-auth - pushd parts/mosquitto-go-auth
- export CGO_CFLAGS="-I$BUILD_DIR/opt -fPIC" - export CGO_CFLAGS="-I$BUILD_DIR/opt/include -fPIC"
- export CGO_LDFLAGS="-shared" - export CGO_LDFLAGS="-shared"
- make - make
- cp go-auth.so $BUILD_DIR/opt/lib - cp go-auth.so $BUILD_DIR/opt/lib