diff options
author | Sascha Schumann <sas@php.net> | 2000-10-30 14:29:51 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-10-30 14:29:51 +0000 |
commit | 622e66b31f9696a1082898f4166d162ebac431cc (patch) | |
tree | b5f2b879dcf787740b9f84706c215057817387d1 /dynlib.m4 | |
parent | 7eed2e5b01fd872e724f5cfc18370a14e0311558 (diff) | |
download | php-git-622e66b31f9696a1082898f4166d162ebac431cc.tar.gz |
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.
Diffstat (limited to 'dynlib.m4')
-rw-r--r-- | dynlib.m4 | 6 |
1 files changed, 6 insertions, 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 |