Explorar o código

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
goprife@gmail.com %!s(int64=12) %!d(string=hai) anos
pai
achega
cabee09a32
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      bsp/simulator/SConstruct

+ 2 - 2
bsp/simulator/SConstruct

@@ -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)