mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
LTLIBRARY_DEPENDENCIES might depend on variables defined in config_vars.mk,
so we force inclusion of that file before we use LTLIBRARY_DEPENDENCIES in a rule.
This commit is contained in:
parent
7eed2e5b01
commit
622e66b31f
1 changed files with 6 additions and 0 deletions
|
@ -54,7 +54,13 @@ AC_DEFUN(LIB_BUILD,[
|
|||
lib_target=""
|
||||
|
||||
$php_shtool mkdir -p $1
|
||||
if test "$BSD_MAKEFILE" = "yes"; then
|
||||
lib_include_conf=".include \"\$(top_builddir)/config_vars.mk\""
|
||||
else
|
||||
lib_include_conf="include \$(top_builddir)/config_vars.mk"
|
||||
fi
|
||||
cat >$lib_makefile<<EOF
|
||||
$lib_include_conf
|
||||
LTLIBRARY_OBJECTS = \$(LTLIBRARY_SOURCES:.c=.lo) \$(LTLIBRARY_OBJECTS_X)
|
||||
LTLIBRARY_SHARED_OBJECTS = \$(LTLIBRARY_OBJECTS:.lo=.slo)
|
||||
EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue