diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 9157a096..31070e54 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -83,12 +83,8 @@ jobs: - name: Build wheels for Linux if: matrix.os == 'ubuntu-latest' env: - CIBW_ENVIRONMENT: | - LDFLAGS="-L/usr/lib/x86_64-linux-gnu" - CFLAGS="-I/usr/include" - LIBRARY_PATH="/usr/lib/x86_64-linux-gnu:$LIBRARY_PATH" - C_INCLUDE_PATH="/usr/include:$C_INCLUDE_PATH" - LD_LIBRARY_PATH="/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH" + CIBW_ENVIRONMENT: "LDFLAGS='-L/usr/lib/x86_64-linux-gnu' CFLAGS='-I/usr/include' LIBRARY_PATH='/usr/lib/x86_64-linux-gnu:$LIBRARY_PATH' C_INCLUDE_PATH='/usr/include:$C_INCLUDE_PATH' LD_LIBRARY_PATH='/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH'" + run: | # Check GSL library and include files if [ -f /usr/lib/x86_64-linux-gnu/libgsl.so ]; then