SHA256
1
0
forked from pool/php7
Files
php7/php-embed.patch
Petr Gajdos c4b05f1e09 - rename php7-*.patch to more general php-#1.patch
why: this aligns with maintenance patch names, which are in
  changelogs copied over php72, php7, php5, php53; moreover, php$N
  prefix causes issues when package is renamed, e. g. php7 to php72
- deleted patches
  - php7-crypt-tests.patch (upstreamed)
  - php7-date-regenerate-lexers.patch (upstreamed)
  - php7-embed.patch (upstreamed)
  - php7-fix_net-snmp_disable_MD5.patch (upstreamed)
  - php7-ini.patch (upstreamed)
  - php7-no-build-date.patch (upstreamed)
  - php7-odbc-cmp-int-cast.patch (upstreamed)
  - php7-openssl.patch (upstreamed)
  - php7-php-config.patch (upstreamed)
  - php7-phpize.patch (upstreamed)
  - php7-pts.patch (upstreamed)
  - php7-systemd-unit.patch (upstreamed)
  - php7-systzdata-v17.patch (upstreamed)
- added patches
  + php-crypt-tests.patch
  + php-date-regenerate-lexers.patch
  + php-embed.patch
  + php-fix_net-snmp_disable_MD5.patch
  + php-ini.patch
  + php-no-build-date.patch
  + php-odbc-cmp-int-cast.patch
  + php-openssl.patch
  + php-php-config.patch
  + php-phpize.patch
  + php-pts.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:php/php7?expand=0&rev=177
2019-02-28 08:59:34 +00:00

12 lines
546 B
Diff

--- php-7.1.10/sapi/embed/config.m4.embed
+++ php-7.1.10/sapi/embed/config.m4
@@ -12,7 +12,7 @@ if test "$PHP_EMBED" != "no"; then
case "$PHP_EMBED" in
yes|shared)
PHP_EMBED_TYPE=shared
- INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(prefix)/lib; \$(INSTALL) -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)\$(prefix)/lib"
+ INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(libdir); \$(LIBTOOL) --mode=install \$(INSTALL) -m 0755 \$(OVERALL_TARGET) \$(INSTALL_ROOT)\$(libdir)"
;;
static)
PHP_EMBED_TYPE=static