Browse Source

Merge pull request #5066 from lucize/php7imap

php7: add php7-mod-imap
lilik-openwrt-22.03
Michael Heimpold 7 years ago
committed by GitHub
parent
commit
0809a949f2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions
  1. +10
    -1
      lang/php7/Makefile

+ 10
- 1
lang/php7/Makefile View File

@ -30,7 +30,7 @@ PHP7_MODULES = \
ftp \ ftp \
gettext gd gmp \ gettext gd gmp \
hash \ hash \
iconv intl \
iconv imap intl \
json \ json \
ldap \ ldap \
mbstring mcrypt mysqli \ mbstring mcrypt mysqli \
@ -253,6 +253,14 @@ else
CONFIGURE_ARGS+= --without-iconv CONFIGURE_ARGS+= --without-iconv
endif endif
ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-imap),)
CONFIGURE_ARGS+= \
--with-imap=shared,"$(STAGING_DIR)/usr" \
--with-imap-ssl
else
CONFIGURE_ARGS+= --without-imap
endif
ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-intl),) ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-intl),)
CONFIGURE_ARGS+= --enable-intl=shared CONFIGURE_ARGS+= --enable-intl=shared
TARGET_CXXFLAGS+= -std=c++0x TARGET_CXXFLAGS+= -std=c++0x
@ -590,6 +598,7 @@ $(eval $(call BuildModule,gettext,Gettext,+PACKAGE_php7-mod-gettext:libintl-full
$(eval $(call BuildModule,gmp,GMP,+PACKAGE_php7-mod-gmp:libgmp)) $(eval $(call BuildModule,gmp,GMP,+PACKAGE_php7-mod-gmp:libgmp))
$(eval $(call BuildModule,hash,Hash)) $(eval $(call BuildModule,hash,Hash))
$(eval $(call BuildModule,iconv,iConv,$(ICONV_DEPENDS))) $(eval $(call BuildModule,iconv,iConv,$(ICONV_DEPENDS)))
$(eval $(call BuildModule,imap,IMAP,+PACKAGE_php7-mod-imap:libopenssl +PACKAGE_php7-mod-imap:uw-imap))
$(eval $(call BuildModule,intl,Internationalization Functions,+PACKAGE_php7-mod-intl:icu)) $(eval $(call BuildModule,intl,Internationalization Functions,+PACKAGE_php7-mod-intl:icu))
$(eval $(call BuildModule,json,JSON)) $(eval $(call BuildModule,json,JSON))
$(eval $(call BuildModule,ldap,LDAP,+PACKAGE_php7-mod-ldap:libopenldap +PACKAGE_php7-mod-ldap:libsasl2)) $(eval $(call BuildModule,ldap,LDAP,+PACKAGE_php7-mod-ldap:libopenldap +PACKAGE_php7-mod-ldap:libsasl2))


Loading…
Cancel
Save