diff --git a/.github/workflows/prebuild.yaml b/.github/workflows/prebuild.yaml index a816a794d..31c85c776 100644 --- a/.github/workflows/prebuild.yaml +++ b/.github/workflows/prebuild.yaml @@ -169,6 +169,7 @@ jobs: npm install --ignore-scripts . prebuild/macOS/preinstall.sh cp prebuild/macOS/binding.gyp binding.gyp + export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig node-gyp rebuild -j 2 . prebuild/macOS/bundle.sh diff --git a/prebuild/macOS/binding.gyp b/prebuild/macOS/binding.gyp index cb185fd88..4fcd377ce 100644 --- a/prebuild/macOS/binding.gyp +++ b/prebuild/macOS/binding.gyp @@ -41,10 +41,10 @@ '