Changeset 29591


Ignore:
Timestamp:
2011-12-20T21:00:45+01:00 (4 years ago)
Author:
mhei
Message:

[packages] php5: add mysqli module

Oliver, thanks for the patch (#10646)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/lang/php5/Makefile

    r29492 r29591  
    1010PKG_NAME:=php 
    1111PKG_VERSION:=5.3.8 
    12 PKG_RELEASE:=8 
     12PKG_RELEASE:=9 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     
    3131        json \ 
    3232        ldap libevent \ 
    33         mbstring mcrypt mysql \ 
     33        mbstring mcrypt mysql mysqli \ 
    3434        openssl \ 
    3535        pcntl pdo pdo-mysql pdo-pgsql pdo-sqlite pgsql \ 
     
    285285else 
    286286  CONFIGURE_ARGS+= --without-mysql 
     287endif 
     288 
     289ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-mysqli),) 
     290  CONFIGURE_ARGS+= --with-mysqli=shared,"$(STAGING_DIR)/usr/bin/mysql_config" 
     291else 
     292  CONFIGURE_ARGS+= --without-mysqli 
    287293endif 
    288294 
     
    529535$(eval $(call BuildModule,mcrypt,Mcrypt,+PACKAGE_php5-mod-mcrypt:libmcrypt +PACKAGE_php5-mod-mcrypt:libltdl)) 
    530536$(eval $(call BuildModule,mysql,MySQL,+PACKAGE_php5-mod-mysql:libmysqlclient)) 
     537$(eval $(call BuildModule,mysqli,MySQL Improved Extension,+PACKAGE_php5-mod-mysqli:libmysqlclient)) 
    531538$(eval $(call BuildModule,openssl,OpenSSL,+PACKAGE_php5-mod-openssl:libopenssl)) 
    532539$(eval $(call BuildModule,pcntl,PCNTL)) 
Note: See TracChangeset for help on using the changeset viewer.