diff --git a/config.w32 b/config.w32 index b3ded34..ab638e0 100644 --- a/config.w32 +++ b/config.w32 @@ -10,10 +10,10 @@ if (PHP_PHPY != "no") { ADD_SOURCES(ext_dir + "/src/php", "object.cc type.cc error.cc iter.cc dict.cc core.cc fn.cc str.cc sequence.cc list.cc set.cc tuple.cc module.cc", "phpy") ADD_SOURCES(ext_dir + "/src/python", "class.cc module.cc object.cc reference.cc resource.cc callable.cc string.cc array.cc", "phpy") - EXTENSION("phpy", "phpy.cc", null, '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I ' + ext_dir + '/include -I ' + ext_dir + ' /I ' + PYTHONHOME + '/include') + EXTENSION("phpy", "phpy.cc", null, '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I "' + ext_dir + '"/include -I "' + ext_dir + '" /I "' + PYTHONHOME + '/include"') ADD_FLAG("CFLAGS", "/D PHP_PHPY_EXPORTS ") - ADD_FLAG("LDFLAGS_PHPY", '/libpath:' + PYTHONHOME + '/libs') + ADD_FLAG("LDFLAGS_PHPY", '/libpath:"' + PYTHONHOME + '/libs"') ADD_FLAG("CXXFLAGS", "-Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -z now") } else { WARNING("python not found; the python libraries and headers not found");