diff options
| author | 孙冬梅 <[email protected]> | 2018-03-10 18:33:45 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-03-10 18:33:45 +0800 |
| commit | 6e987b2350badd1777454b7324fc88d3275407d6 (patch) | |
| tree | 1bbd5fc2cdaff0719d76122c91e0e736bf3f8116 /bsp/simulator/drivers/SConscript | |
| parent | 351f15be4bdf575789be2e1d74934e830bd60554 (diff) | |
| parent | 5534bab89ee767757a451b2efeb5341c1fb74872 (diff) | |
Merge pull request #2 from RT-Thread/master
update form origin
Diffstat (limited to 'bsp/simulator/drivers/SConscript')
| -rw-r--r-- | bsp/simulator/drivers/SConscript | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bsp/simulator/drivers/SConscript b/bsp/simulator/drivers/SConscript index 153375ec07..593a3fdfdc 100644 --- a/bsp/simulator/drivers/SConscript +++ b/bsp/simulator/drivers/SConscript @@ -8,13 +8,13 @@ LIBPATH = [] CPPPATH = [cwd] # remove no need file. -if GetDepend('RT_USING_GUIENGINE') == False: +if GetDepend('PKG_USING_GUIENGINE') == False: SrcRemove(src, 'sdl_fb.c') else: - LIBS.append('SDL') + LIBS.append('SDL2') if sys.platform == 'win32': - LIBPATH.append(os.path.abspath(os.path.join(cwd, '../SDL/lib/x86'))) - CPPPATH.append(os.path.abspath(os.path.join(cwd, '../SDL/include'))) + LIBPATH.append(os.path.abspath(os.path.join(cwd, '../SDL2-2.0.7/lib/x86'))) + CPPPATH.append(os.path.abspath(os.path.join(cwd, '../SDL2-2.0.7/include'))) if GetDepend('RT_USING_DFS') == False or GetDepend('RT_USING_DFS_ELMFAT') == False: SrcRemove(src, 'sd_sim.c') |
