Merge pull request #3319 from airween/v3/osxcifix

fix: build library on OSX without GeoIP brew package
This commit is contained in:
Ervin Hegedus 2025-01-05 17:05:30 +01:00 committed by GitHub
commit eb7e2b8a5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -102,7 +102,6 @@ jobs:
lua \ lua \
libmaxminddb \ libmaxminddb \
libxml2 \ libxml2 \
geoip \
ssdeep \ ssdeep \
pcre \ pcre \
bison \ bison \
@ -111,6 +110,16 @@ jobs:
with: with:
submodules: true submodules: true
fetch-depth: 0 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 - name: build.sh
run: ./build.sh run: ./build.sh
- name: configure - name: configure