mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-29 19:03:59 +08:00
Revert "use vendored raylib from dependencies repo" (#37537)
Revert "use vendored raylib from dependencies repo (#37489)"
This reverts commit 0374979397.
This commit is contained in:
@@ -16,17 +16,12 @@ env.Command(
|
||||
action=f"python3 {generator}",
|
||||
)
|
||||
|
||||
try:
|
||||
import raylib
|
||||
except ImportError:
|
||||
raylib = None
|
||||
|
||||
if GetOption('extras') and arch == "larch64" and raylib is not None:
|
||||
if GetOption('extras') and arch == "larch64":
|
||||
# build installers
|
||||
if arch != "Darwin":
|
||||
raylib_env = env.Clone()
|
||||
raylib_env['CPPPATH'] += [raylib.INCLUDE_DIR]
|
||||
raylib_env['LIBPATH'] += [raylib.LIB_DIR]
|
||||
raylib_env['LIBPATH'] += [f'#third_party/raylib/{arch}/']
|
||||
raylib_env['LINKFLAGS'].append('-Wl,-strip-debug')
|
||||
|
||||
raylib_libs = common + ["raylib"]
|
||||
|
||||
Reference in New Issue
Block a user