]> granicus.if.org Git - php/commitdiff
Fix bug #75248 and #75251
authorPeter Kokot <peterkokot@gmail.com>
Fri, 22 Sep 2017 20:41:51 +0000 (22:41 +0200)
committerJoe Watkins <krakjoe@php.net>
Wed, 27 Sep 2017 05:15:12 +0000 (06:15 +0100)
NEWS
sapi/litespeed/Makefile.frag

diff --git a/NEWS b/NEWS
index c3c39bb418d3fdaa59393850f8ec86798504be98..c3e57603e33e986130b9d5aa70de2471bdf1bc85 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,11 @@ PHP                                                                        NEWS
   . Fixed bug #75220 (Segfault when calling is_callable on parent). 
     (andrewnester)
 
+- litespeed:
+  . Fixed bug #75248 (Binary directory doesn't get created when building 
+    only litespeed SAPI). (petk)
+  . Fixed bug #75251 (Missing program prefix and suffix). (petk)
+
 - SPL:
   . Fixed bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags).
     (J. Jeising, cmb)
index 125a3b13da34901db3d6dae8054c765095e6a741..2010d8d6235fdd535f4d10e04adc26527a04b8b4 100644 (file)
@@ -5,5 +5,5 @@ $(SAPI_LITESPEED_PATH): $(PHP_GLOBAL_OBJS) $(PHP_BINARY_OBJS) $(PHP_LITESPEED_OB
 
 install-litespeed: $(SAPI_LITESPEED_PATH)
        @echo "Installing PHP LiteSpeed binary:  $(INSTALL_ROOT)$(bindir)/"
-       @$(INSTALL) -m 0755 $(SAPI_LITESPEED_PATH) $(INSTALL_ROOT)$(bindir)/lsphp
-
+       @$(mkinstalldirs) $(INSTALL_ROOT)$(bindir)
+       @$(INSTALL) -m 0755 $(SAPI_LITESPEED_PATH) $(INSTALL_ROOT)$(bindir)/$(program_prefix)lsphp$(program_suffix)