Skip to content

Commit

Permalink
Update source and headers path (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
macintoshplus authored Aug 21, 2024
1 parent f4279fa commit eb3a5ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config.w32
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ ARG_ENABLE("phpy", "enable phpy extension", "yes");
if (PHP_PHPY != "no") {
PYTHONHOME = WshShell.Environment("Process").Item("PYTHONHOME")
if (PYTHONHOME) {
ADD_SOURCES("ext/phpy/src/bridge", "core.cc", "phpy")
ADD_SOURCES("ext/phpy/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/phpy/src/python", "class.cc module.cc object.cc reference.cc resource.cc callable.cc string.cc array.cc", "phpy")
ADD_SOURCES("src/bridge", "core.cc", "phpy")
ADD_SOURCES("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("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 -Iext/phpy/include -Iext/phpy /I ' + PYTHONHOME + '/include')
EXTENSION("phpy", "phpy.cc", null, '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /I include /I . /I ' + PYTHONHOME + '/include')

ADD_FLAG("CFLAGS", "/D PHP_PHPY_EXPORTS ")
ADD_FLAG("LDFLAGS_PHPY", '/libpath:' + PYTHONHOME + '/libs')
Expand Down

0 comments on commit eb3a5ba

Please sign in to comment.