mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-12 11:25:35 +08:00
fix imagick shared build
This commit is contained in:
@@ -80,5 +80,17 @@ trait imagemagick
|
|||||||
'includearchdir=${prefix}/include/ImageMagick-7'
|
'includearchdir=${prefix}/include/ImageMagick-7'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
$filelist = [
|
||||||
|
'libMagick++-7.Q16HDRI.la',
|
||||||
|
'libMagickCore-7.Q16HDRI.la',
|
||||||
|
'libMagickWand-7.Q16HDRI.la',
|
||||||
|
];
|
||||||
|
foreach ($filelist as $file) {
|
||||||
|
FileSystem::replaceFileStr(
|
||||||
|
BUILD_LIB_PATH . '/' . $file,
|
||||||
|
' /lib/',
|
||||||
|
' ' . BUILD_LIB_PATH . '/',
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user