Skip to content

Commit

Permalink
Merge pull request #3319 from airween/v3/osxcifix
Browse files Browse the repository at this point in the history
fix: build library on OSX without GeoIP brew package
  • Loading branch information
airween authored Jan 5, 2025
2 parents d9101a4 + a332567 commit eb7e2b8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ jobs:
lua \
libmaxminddb \
libxml2 \
geoip \
ssdeep \
pcre \
bison \
Expand All @@ -111,6 +110,16 @@ jobs:
with:
submodules: true
fetch-depth: 0
- name: Build GeoIP
run: |
git clone --depth 1 --no-checkout https://github.com/maxmind/geoip-api-c.git
cd geoip-api-c
git fetch --tags
# Check out the last release, v1.6.12
git checkout 4b526e7331ca1d692b74a0509ddcc725622ed31a
autoreconf --install
./configure --disable-dependency-tracking --disable-silent-rules --prefix=/opt/homebrew
make install
- name: build.sh
run: ./build.sh
- name: configure
Expand Down

0 comments on commit eb7e2b8

Please sign in to comment.