mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
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:
parent
167196aa10
commit
d73eaf1c34
@ -227,11 +227,13 @@ env['prefix'] = os.path.join(env['base_dir'] + 'Binary', platform.system() + '-'
|
|||||||
env['plugin_dir'] = env['prefix'] + 'Plugins/'
|
env['plugin_dir'] = env['prefix'] + 'Plugins/'
|
||||||
#TODO add bin
|
#TODO add bin
|
||||||
env['binary_dir'] = env['prefix']
|
env['binary_dir'] = env['prefix']
|
||||||
#TODO add libs
|
#TODO add bin
|
||||||
env['libs_dir'] = env['prefix'] + 'Libs/'
|
env['libs_dir'] = env['prefix'] + 'Libs/'
|
||||||
#TODO where should this go?
|
#TODO where should this go?
|
||||||
env['data_dir'] = env['prefix']
|
env['data_dir'] = env['prefix']
|
||||||
|
|
||||||
|
env['LINKFLAGS'] = [ '-Wl,-rpath=' + env['libs_dir'] ]
|
||||||
|
|
||||||
Export('env')
|
Export('env')
|
||||||
|
|
||||||
rev = utils.GenerateRevFile(env['flavor'],
|
rev = utils.GenerateRevFile(env['flavor'],
|
||||||
|
@ -31,6 +31,7 @@ else:
|
|||||||
wiimoteenv.Append(
|
wiimoteenv.Append(
|
||||||
CXXFLAGS = [ '-fPIC' ],
|
CXXFLAGS = [ '-fPIC' ],
|
||||||
LIBS = [ 'common', 'wiiuse' ],
|
LIBS = [ 'common', 'wiiuse' ],
|
||||||
|
LINKFLAGS = [ '-Wl,-rpath=' + env['libs_dir'] ]
|
||||||
)
|
)
|
||||||
|
|
||||||
wiimoteenv.SharedLibrary(env['plugin_dir']+name, files)
|
wiimoteenv.SharedLibrary(env['plugin_dir']+name, files)
|
||||||
|
Loading…
Reference in New Issue
Block a user