summaryrefslogtreecommitdiff
path: root/ext/ext_skel
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ext_skel')
-rwxr-xr-xext/ext_skel10
1 files changed, 6 insertions, 4 deletions
diff --git a/ext/ext_skel b/ext/ext_skel
index 3db7ebae57..60b5a224f9 100755
--- a/ext/ext_skel
+++ b/ext/ext_skel
@@ -56,7 +56,7 @@ dnl Make sure that the comment is aligned:
if test "\$PHP_$EXTNAME" != "no"; then
dnl Action..
- PHP_EXTENSION($extname)
+ PHP_EXTENSION($extname, \$ext_shared)
fi
eof
@@ -64,10 +64,11 @@ $ECHO_N " Makefile.in$ECHO_C"
cat >Makefile.in <<eof
# \$Id\$
-LTLIBRARY_NAME = lib$extname.la
-LTLIBRARY_SOURCES = $extname.c
+LTLIBRARY_NAME = lib$extname.la
+LTLIBRARY_SOURCES = $extname.c
+LTLIBRARY_SHARED_NAME = $extname.la
-include \$(top_srcdir)/build/ltlib.mk
+include \$(top_srcdir)/build/dynlib.mk
eof
@@ -79,6 +80,7 @@ Makefile
*.lo
*.la
.libs
+libs.mk
eof
chmod 644 *