diff options
-rw-r--r-- | ext/swf/config.m4 | 2 | ||||
-rw-r--r-- | ext/swf/swf.c | 2 |
2 files changed, 3 insertions, 1 deletions
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) |