meta-openembedded/meta-oe/recipes-devtools/php
Max Kellermann 797c1f11bb php: fix linker errors by setting ac_cv_func_dlopen=no
The autoconf variable `ac_cv_func_dlopen` controls whether `dlopen()`
is available without linking `libdl.so`.  But that doesn't work:

 tmp-glibc/work/aarch64-oe-linux/php/7.2.10-r0/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/8.2.0/ld: ext/sqlite3/libsqlite/sqlite3.o: undefined reference to symbol 'dlsym@@GLIBC_2.17'
 tmp-glibc/work/aarch64-oe-linux/php/7.2.10-r0/recipe-sysroot-native/usr/bin/aarch64-oe-linux/../../libexec/aarch64-oe-linux/gcc/aarch64-oe-linux/8.2.0/ld: tmp-glibc/work/aarch64-oe-linux/php/7.2.10-r0/recipe-sysroot/lib/libdl.so.2: error adding symbols: DSO missing from command line

Leave `ac_cv_lib_dl_dlopen=yes`, because that's the one which controls
whether `-ldl` is needed.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-27 08:58:18 -07:00
..
php php5: 5.6.36 -> 5.6.38 2018-09-26 09:46:42 -07:00
php_5.6.38.bb php5: 5.6.36 -> 5.6.38 2018-09-26 09:46:42 -07:00
php_7.2.10.bb php: Upgrade 7.2.9 -< 7.2.10 2018-09-24 11:49:45 -07:00
php.inc php: fix linker errors by setting ac_cv_func_dlopen=no 2018-09-27 08:58:18 -07:00