mirror of
https://github.com/openwrt/packages.git
synced 2026-11-01 08:39:13 +04:00
Merge pull request #16740 from mhei/php8-fix-16642
php8: fix module loading with glibc (refs #16642)
This commit is contained in:
1 file changed
+5
-1
+5
-1
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=php
|
||||
PKG_VERSION:=8.0.10
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_MAINTAINER:=Michael Heimpold <mhei@heimpold.de>
|
||||
PKG_LICENSE:=PHP-3.01
|
||||
@@ -175,6 +175,10 @@ CONFIGURE_ARGS+= \
|
||||
--with-external-pcre \
|
||||
--with-zlib="$(STAGING_DIR)/usr"
|
||||
|
||||
ifeq ($(CONFIG_LIBC_USE_GLIBC),y)
|
||||
TARGET_LDFLAGS += -ldl
|
||||
endif
|
||||
|
||||
ifneq ($(SDK)$(CONFIG_PACKAGE_php8-mod-bcmath),)
|
||||
CONFIGURE_ARGS+= --enable-bcmath=shared
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user