added rpath to LIBS

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1218 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-11-19 11:41:42 +00:00
parent 167196aa10
commit d73eaf1c34
2 changed files with 4 additions and 1 deletions

View File

@ -227,11 +227,13 @@ env['prefix'] = os.path.join(env['base_dir'] + 'Binary', platform.system() + '-'
env['plugin_dir'] = env['prefix'] + 'Plugins/'
#TODO add bin
env['binary_dir'] = env['prefix']
#TODO add libs
#TODO add bin
env['libs_dir'] = env['prefix'] + 'Libs/'
#TODO where should this go?
env['data_dir'] = env['prefix']
env['LINKFLAGS'] = [ '-Wl,-rpath=' + env['libs_dir'] ]
Export('env')
rev = utils.GenerateRevFile(env['flavor'],

View File

@ -31,6 +31,7 @@ else:
wiimoteenv.Append(
CXXFLAGS = [ '-fPIC' ],
LIBS = [ 'common', 'wiiuse' ],
LINKFLAGS = [ '-Wl,-rpath=' + env['libs_dir'] ]
)
wiimoteenv.SharedLibrary(env['plugin_dir']+name, files)