cvs: php4 /sapi/cli Makefile.in
| From: | Edin Kadribasic | Date: | Sat, 12 Jan 2002 22:48:55 +0000 |
| Subject: | cvs: php4 /sapi/cli Makefile.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9048@lists.php.net to get a copy of this message | ||
edink Sat Jan 12 17:48:55 2002 EDT
Modified files:
/php4/sapi/cli Makefile.in
Log:
Fixed CLI build when the main SAPI is built as a shered library.
Index: php4/sapi/cli/Makefile.in
diff -u php4/sapi/cli/Makefile.in:1.2 php4/sapi/cli/Makefile.in:1.3
--- php4/sapi/cli/Makefile.in:1.2 Sat Jan 12 09:51:54 2002
+++ php4/sapi/cli/Makefile.in Sat Jan 12 17:48:54 2002
@@ -21,5 +21,8 @@
targets = $(LTLIBRARY_NAME) $(PROGRAM_NAME)
include $(top_srcdir)/build/rules.mk
+CFLAGS = $(CFLAGS_CLEAN) -prefer-non-pic -static
+PHP_COMPILE = $(CC) $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS) -c $< && touch
$@
+CXX_PHP_COMPILE = $(CXX) $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS) -c $< &&
touch $@
include $(top_srcdir)/build/library.mk
include $(top_srcdir)/build/program.mk