mirror of
https://github.com/mlocati/docker-php-extension-installer
synced 2025-05-09 00:22:40 +00:00
Use TARGET_TRIPLET instead of hard-coded x86_64-linux-gnu
Test: gmp,mssql,pdo_dblib
This commit is contained in:
parent
35feca8b12
commit
67afc0d2a4
1 changed files with 2 additions and 2 deletions
|
@ -1067,7 +1067,7 @@ installBundledModule() {
|
|||
gmp)
|
||||
if test $PHP_MAJMIN_VERSION -le 506; then
|
||||
if ! test -f /usr/include/gmp.h; then
|
||||
ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h
|
||||
ln -s /usr/include/$TARGET_TRIPLET/gmp.h /usr/include/gmp.h
|
||||
UNNEEDED_PACKAGE_LINKS="$UNNEEDED_PACKAGE_LINKS /usr/include/gmp.h"
|
||||
fi
|
||||
fi
|
||||
|
@ -1113,7 +1113,7 @@ installBundledModule() {
|
|||
;;
|
||||
mssql | pdo_dblib)
|
||||
if ! test -f /usr/lib/libsybdb.so; then
|
||||
ln -s /usr/lib/x86_64-linux-gnu/libsybdb.so /usr/lib/libsybdb.so
|
||||
ln -s /usr/lib/$TARGET_TRIPLET/libsybdb.so /usr/lib/libsybdb.so
|
||||
UNNEEDED_PACKAGE_LINKS="$UNNEEDED_PACKAGE_LINKS /usr/lib/libsybdb.so"
|
||||
fi
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue