Skip to content

Commit 9bd2afc

Browse files
committed
WIP
1 parent 70ded06 commit 9bd2afc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/gen_build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
# project wide settings
3434
pl.set_output_directory("../out")
35-
pl.add_link_directories("../out", "../../pilotlight/out")
35+
pl.add_link_directories("../out")
3636
pl.add_definitions("_USE_MATH_DEFINES")
3737
pl.add_include_directories("../src", "../extensions")
3838

@@ -474,7 +474,7 @@
474474
pl.add_definitions("PL_METAL_BACKEND")
475475
pl.set_output_binary("imgui")
476476
pl.set_output_binary_extension(".so")
477-
pl.add_compiler_flags("-fPIC", "--debug -g", "-std=c99", "-fmodules", "-ObjC++", "-arch arm64")
477+
pl.add_compiler_flags("-fPIC", "--debug -g", "-fmodules", "-ObjC++", "-arch arm64")
478478
pl.add_linker_flags("-ldl -lm")
479479
pl.add_link_frameworks("Metal", "MetalKit", "Cocoa", "IOKit", "CoreVideo", "QuartzCore")
480480
pl.add_dynamic_link_libraries("shaderc_shared", "spirv-cross-c-shared")

src/pl_core_m.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Index of this file:
1919
// [SECTION] binding apis
2020
//-----------------------------------------------------------------------------
2121

22-
extern const plWindowI* ptWindows2;
22+
const plWindowI* ptWindows2;
2323
static PyObject* ptpyIO = NULL;
2424

2525
//-----------------------------------------------------------------------------

0 commit comments

Comments
 (0)