From a193c9ce3e02cd6b368c12fa394b2d8bba85d03e Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Mon, 9 Oct 2000 19:10:39 +0000 Subject: [PATCH] Fix a misconfiguration error and missing return statement. --- ext/swf/config.m4 | 2 +- ext/swf/swf.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/swf/config.m4 b/ext/swf/config.m4 index ac75a3b766..25809a4822 100644 --- a/ext/swf/config.m4 +++ b/ext/swf/config.m4 @@ -27,7 +27,7 @@ if test "$PHP_SWF" != "no"; then AC_ADD_INCLUDE($SWF_DIR/include) PHP_SUBST(SWF_SHARED_LIBADD) - AC_ADD_LIBRARY_WITH_PATH(swf, $SWF_DIR, SWF_SHARED_LIBADD) + AC_ADD_LIBRARY_WITH_PATH(swf, $SWF_DIR/lib, SWF_SHARED_LIBADD) AC_DEFINE(HAVE_SWF,1,[ ]) PHP_EXTENSION(swf, $ext_shared) diff --git a/ext/swf/swf.c b/ext/swf/swf.c index 32ec0c1aaf..d5bc6181ea 100644 --- a/ext/swf/swf.c +++ b/ext/swf/swf.c @@ -157,6 +157,8 @@ PHP_MINIT_FUNCTION(swf) PHP_RINIT_FUNCTION(swf) { SWFG(use_file) = 0; + + return SUCCESS; } /* {{{ proto void swf_openfile(string name, double xsize, double ysize, double framerate, double r, double g, double b) -- 2.50.1