diff --git a/.github/workflows/test-dev.yml b/.github/workflows/test-dev.yml index 5569044..4bcf8a8 100644 --- a/.github/workflows/test-dev.yml +++ b/.github/workflows/test-dev.yml @@ -57,6 +57,17 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + - run: | + python3-config --cflags --embed + python3-config --libs --embed + if: runner.os != 'Windows' + - run: | + python-config --cflags --embed + python-config --libs --embed + if: runner.os == 'Windows' + - run: | + pkg-config --cflags python3-embed + pkg-config --libs python3-embed - run: npm install --ignore-scripts - run: npx @mapbox/node-pre-gyp configure - run: npx @mapbox/node-pre-gyp build -j max diff --git a/binding.gyp b/binding.gyp index f79ce00..846d7ef 100644 --- a/binding.gyp +++ b/binding.gyp @@ -53,19 +53,19 @@ ['OS == "win"', { 'conditions': [ ['builtin_python == "false" and external_python == "false"', { - 'include_dirs': [ '