File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
no-debug-non-zts-20180731 Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 17
17
18
18
CONFIGURE_EXTRA=" --with-rdkafka=${OUT_PREFIX} "
19
19
20
+ from_ext_to_lib=$( realpath --relative-to=" $( php-config --extension-dir) " " ${OUT_PREFIX} /lib" )
21
+
22
+ MAKE_EXTRA=" LDFLAGS=${LDFLAGS:- -Wl} ,-rpath='\$\$ ORIGIN/${from_ext_to_lib} '"
23
+
20
24
source $( dirname $BASH_SOURCE ) /../pecl
Original file line number Diff line number Diff line change 29
29
./configure \
30
30
--prefix=${OUT_PREFIX} \
31
31
${CONFIGURE_EXTRA:- }
32
- make -s -j $(( $(nproc)+ 1 ))
32
+ make -s -j $(( $(nproc)+ 1 )) \
33
+ ${MAKE_EXTRA:- }
33
34
34
35
# php was a build dep, and it's in $OUT_PREFIX; we only want our build results in the final archive, and no build deps
35
36
# the easiest way is to nuke $OUT_PREFIX and running "make install", but extensions built for PHP 8.1+ need PHP headers during linking
You can’t perform that action at this time.
0 commit comments