de-namespace image magick headers (#4031)

Refs https://github.com/pkgxdev/pantry/issues/4030
This commit is contained in:
Max Howell 2023-11-11 14:35:22 -05:00 committed by GitHub
parent 6ed2ee6b07
commit 53bc78474b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,6 +67,12 @@ build:
- run: sed -i'' -e 's|^prefix=.*|prefix=${MAGICK_HOME}|g' Magick++-config MagickCore-config MagickWand-config
working-directory: ${{prefix}}/bin
- run: |
mv ImageMagick-{{version.major}}/* .
rmdir ImageMagick-{{version.major}}
ln -s . ImageMagick-{{version.major}}
working-directory: ${{prefix}}/include
env:
# https://github.com/ImageMagick/ImageMagick/issues/1549
LDFLAGS: