File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,6 @@ if ! [ "$BEFORE_DEPLOY_RUN" ]; then
31
31
if [ x" $TRAVIS_OS_NAME " = x" osx" ]; then
32
32
bash .travis/macosx-build.sh
33
33
fi
34
-
35
- if [ x" $TRAVIS_OS_NAME " = x" linux" ]; then
36
- sha256sum build/mole* > build/mole_sha256_checksum.txt
37
- fi
38
34
fi
39
35
40
36
if [ x" $TRAVIS_OS_NAME " = x" linux" ]; then
Original file line number Diff line number Diff line change @@ -251,10 +251,11 @@ cd ${MOLE_PATH}
251
251
252
252
GOOS=darwin
253
253
GOARCH=amd64
254
- GO_LDFLAGS=" -w -s -X 'github.com/mole-ids/mole/cmd.AppName=${APPNAME} ' -X 'github.com/mole-ids/mole/cmd.Version=${VERSION} ' -X 'github.com/mole-ids/mole/cmd.BuildDate=${BUILDDATE} ' -X 'github.com/mole-ids/mole/cmd.BuildHash=${BUILD} ' -extldflags '-static' "
254
+ GO_LDFLAGS=" -w -s -X 'github.com/mole-ids/mole/cmd.AppName=${APPNAME} ' -X 'github.com/mole-ids/mole/cmd.Version=${VERSION} ' -X 'github.com/mole-ids/mole/cmd.BuildDate=${BUILDDATE} ' -X 'github.com/mole-ids/mole/cmd.BuildHash=${BUILD} '"
255
255
256
256
echo -n " [*] Compiling Mole IDS for Darwin amd64..."
257
257
ERROR=$( CGO_ENABLED=1 \
258
+ \
258
259
PKG_CONFIG_PATH=" ${YARA_64_PREFIX} /lib/pkgconfig:${LIBPCAP_64_PREFIX} /lib/pkgconfig:$( brew --prefix openssl) /lib/pkgconfig" \
259
260
go build -race -ldflags=" ${GO_LDFLAGS} " -o build/mole_${GOOS} _${GOARCH} main.go 2>&1 > /dev/null)
260
261
if [ $? -ne 0 ]; then
You can’t perform that action at this time.
0 commit comments