Skip to content

Commit d7a3256

Browse files
authored
Travis: fix the build on Darwin. (#52)
1 parent e15214d commit d7a3256

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ matrix:
1717
arch: ppc64le
1818
# Travis transient failures
1919
- os: osx
20-
osx_image: xcode11.2
20+
osx_image: xcode11.3
2121

2222
addons:
2323
apt:
@@ -42,7 +42,7 @@ addons:
4242
- lua5.3
4343

4444
homebrew:
45-
update: true
45+
update: false
4646
packages:
4747
- libscrypt
4848
- lz4

src/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ endif
104104
#
105105

106106
ifeq ($(SYSNAME),Darwin)
107-
# FIXME/XXX
107+
# XXX
108108
CFLAGS+= -I/usr/local/include
109-
CFLAGS+= -I/usr/local/Cellar/openssl@1.1/1.1.1d/include
110-
LDFLAGS+= -L/usr/local/Cellar/openssl@1.1/1.1.1d/lib
109+
CFLAGS+= -I/usr/local/opt/openssl@1.1/include
110+
LDFLAGS+= -L/usr/local/opt/openssl@1.1/lib
111111
endif
112112

113113
ifeq ($(SYSNAME),NetBSD)
@@ -214,7 +214,7 @@ ifeq ($(MAKECMDGOALS),lib)
214214
CFLAGS+= -fPIC
215215
CFLAGS+= $(shell pkg-config --cflags lua5.3)
216216
# Override the LDFLAGS
217-
LDFLAGS= -L/usr/local/Cellar/openssl@1.1/1.1.1d/lib
217+
LDFLAGS= -L/usr/local/opt/openssl@1.1/lib
218218
LDFLAGS+= $(shell pkg-config --cflags --libs lua5.3)
219219
LDFLAGS+= -lssl -lcrypto -lscrypt
220220
endif

0 commit comments

Comments
 (0)