1 --- php-5.2.4/sapi/embed/config.m4.embed
2 +++ php-5.2.4/sapi/embed/config.m4
3 @@ -12,7 +12,8 @@ if test "$PHP_EMBED" != "no"; then
7 - INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(prefix)/lib; \$(INSTALL) -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)\$(prefix)/lib"
8 + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -release \$(PHP_VERSION)"
9 + INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(libdir); \$(LIBTOOL) --mode=install \$(INSTALL) -m 0755 \$(OVERALL_TARGET) \$(INSTALL_ROOT)\$(libdir)"