define Package/php8-cli
$(call Package/php8/Default)
- DEPENDS+= +PACKAGE_php8-mod-intl:libstdcpp +riscv64:libatomic
+ DEPENDS+= +PACKAGE_php8-mod-intl:libstdcpp
TITLE+= (CLI)
endef
define Package/php8-cgi
$(call Package/php8/Default)
- DEPENDS+= +PACKAGE_php8-mod-intl:libstdcpp +riscv64:libatomic
+ DEPENDS+= +PACKAGE_php8-mod-intl:libstdcpp
TITLE+= (CGI & FastCGI)
endef
define Package/php8-fpm
$(call Package/php8/Default)
- DEPENDS+= +PACKAGE_php8-mod-intl:libstdcpp +riscv64:libatomic
+ DEPENDS+= +PACKAGE_php8-mod-intl:libstdcpp
TITLE+= (FPM)
endef
CATEGORY:=Network
DEPENDS+=PACKAGE_apache-mod-php8:apache \
+PACKAGE_php8-mod-intl:libstdcpp \
- +riscv64:libatomic \
+libpcre2 +zlib
TITLE:=PHP8 module for Apache Web Server
endef
ifeq ($(CONFIG_USE_MUSL),y)
TARGET_CFLAGS += -D_LARGEFILE64_SOURCE
endif
-ifneq ($(findstring riscv64,$(CONFIG_ARCH)),)
-TARGET_LDFLAGS += -latomic
-endif
ifneq ($(SDK)$(CONFIG_PACKAGE_php8-mod-bcmath),)
CONFIGURE_ARGS+= --enable-bcmath=shared
define Package/php8-mod-$(1)
$(call Package/php8/Default)
- DEPENDS+=+riscv64:libatomic
-
ifneq ($(3),)
DEPENDS+=$(3)
endif