Browse Source

Merge pull request #16741 from mhei/php7-fix-16642

php7: fix module loading with glibc (refs #16642)
lilik-openwrt-22.03
Michael Heimpold 3 years ago
committed by GitHub
parent
commit
ba4b60ac2a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      lang/php7/Makefile

+ 5
- 1
lang/php7/Makefile View File

@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=php
PKG_VERSION:=7.4.23
PKG_RELEASE:=2
PKG_RELEASE:=3
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_php7-mod-bcmath),)
CONFIGURE_ARGS+= --enable-bcmath=shared
else


Loading…
Cancel
Save