Skip to content

Commit

Permalink
Fix building frt_sdl.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Jul 21, 2024
1 parent 704ea2e commit 784ac93
Show file tree
Hide file tree
Showing 3 changed files with 288 additions and 6 deletions.
6 changes: 3 additions & 3 deletions platform/frt_sdl/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ for dl in Glob('dl/*.dl'):
env.DLH(str(dl))
env.DLCPP(str(dl))

env.Depends('platform_config.h', 'dl/gles2.gen.h')
env.Depends('platform_config.h', 'dl/gles2.gen.cc')
for libname in ['gles2', 'gles3']:
env.Depends('platform_config.h', 'dl/' + libname + '.gen.h')

frt_env = env.Clone()
frt_env.ParseConfig(env['FRT_PKG_CONFIG'] + ' sdl2 --cflags --libs')

common_sources = [ 'frt_exe.cc', 'frt.cc', 'frt_godot3.cc', 'dl/gles2.gen.cc' ]
common_sources = [ 'frt_exe.cc', 'frt.cc', 'frt_godot3.cc', 'dl/gles2.gen.cc', 'dl/gles3.gen.cc' ]

std = env['frt_std']

Expand Down
Loading

0 comments on commit 784ac93

Please sign in to comment.