Parcourir la source

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 il y a 12 ans
Parent
commit
cabee09a32
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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)