mirror of https://github.com/mgba-emu/mgba.git
Python: Actually fix build
This commit is contained in:
parent
ed0a63d1b8
commit
36f321f848
|
@ -22,8 +22,7 @@
|
|||
#define CXX_GUARD_END
|
||||
|
||||
#define PYCPARSE
|
||||
#define va_list void*
|
||||
|
||||
typedef ... va_list;
|
||||
typedef int... time_t;
|
||||
typedef int... off_t;
|
||||
typedef ...* png_structp;
|
||||
|
|
|
@ -52,7 +52,7 @@ ffi.set_source("mgba._pylib", """
|
|||
libraries=["mgba"],
|
||||
library_dirs=[bindir],
|
||||
runtime_library_dirs=[libdir],
|
||||
sources=[os.path.join(pydir, path) for path in ["vfs-py.c", "core.c", "log.c", "sio.c"]])
|
||||
sources=[os.path.join(pydir, path) for path in ["vfs-py.c", "core.c", "log.c"]])
|
||||
|
||||
preprocessed = subprocess.check_output(cpp + ["-fno-inline", "-P"] + cppflags + [os.path.join(pydir, "_builder.h")], universal_newlines=True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue