Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php(-apache): fix rpath for php-gd #21325

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/php/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TERMUX_PKG_LICENSE_FILE=LICENSE
TERMUX_PKG_MAINTAINER="@termux"
# Please revbump php-* extensions along with "minor" bump (e.g. 8.1.x to 8.2.0)
TERMUX_PKG_VERSION="8.3.10"
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/php/php-src/archive/php-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=ef428734ff3b32bade6528b29fb0cd2dc29c5c9b1e45bb382b113a9242ab0320
TERMUX_PKG_AUTO_UPDATE=false
Expand Down Expand Up @@ -160,7 +160,7 @@ termux_step_post_make_install() {
# Shared extensions for PHP/Apache
mkdir -p $TERMUX_PREFIX/lib/php-apache
local f
for f in opcache ldap pdo_pgsql pgsql sodium; do
for f in gd opcache ldap pdo_pgsql pgsql sodium; do
local so=$TERMUX_PREFIX/lib/php-apache/${f}.so
rm -f ${so}
cp -T $TERMUX_PREFIX/lib/php/${f}.so ${so}
Expand Down
3 changes: 3 additions & 0 deletions packages/php/php-apache-gd.subpackage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TERMUX_SUBPKG_INCLUDE="lib/php-apache/gd.so"
TERMUX_SUBPKG_DEPENDS="libgd, php-apache"
TERMUX_SUBPKG_DESCRIPTION="gd module for PHP/Apache"