Browse Source

Use a symlink instead of copying the +6MB library archive during install

experimental/rand_redesign
Sascha Schumann 25 years ago
parent
commit
98304ba6a0
  1. 2
      sapi/thttpd/config.m4

2
sapi/thttpd/config.m4

@ -9,7 +9,7 @@ AC_ARG_WITH(thttpd,
echo 'PHP_LDFLAGS = \$(NATIVE_RPATHS) \$(PHP_LDFLAGS)' >> $THTTPD/php_makefile; \
echo 'PHP_CFLAGS = \$(COMMON_FLAGS) \$(CFLAGS) \$(CPPFLAGS) \$(EXTRA_CFLAGS)' >> $THTTPD/php_makefile; \
\$(LN_S) $abs_srcdir/sapi/thttpd/thttpd.c $THTTPD/php_thttpd.c; \
cp $abs_srcdir/sapi/thttpd/php_thttpd.h $SAPI_STATIC $THTTPD;\
\$(LN_S) $abs_srcdir/sapi/thttpd/php_thttpd.h $SAPI_STATIC $THTTPD/;\
test -f $THTTPD/php_patched || \
(cd $THTTPD && patch < $abs_srcdir/sapi/thttpd/thttpd_patch && touch php_patched)"
PHP_THTTPD="yes, using $THTTPD"

Loading…
Cancel
Save