lib_path should be list no string in bsp/simulator/SConstruct

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2418 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
goprife@gmail.com 2012-11-16 06:42:28 +00:00
parent 50d69f69f6
commit cabee09a32
1 changed files with 2 additions and 2 deletions

View File

@ -61,8 +61,8 @@ env['CPPDEFINES']=definitions
objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False, remove_components=['rtgui'])
if GetDepend('RT_USING_RTGUI'):
sdl_lib = ['SDL', 'SDLmain']
sdl_lib_path = os.path.normpath('SDL/lib/x86')
sdl_include_path = os.path.normpath('SDL/include')
sdl_lib_path = [os.path.abspath('SDL/lib/x86')]
sdl_include_path = [os.path.abspath('SDL/include')]
env.Append(LIBS=sdl_lib)
env.Append(LIBPATH=sdl_lib_path)
env.Append(CPPPATH=sdl_include_path)