Correctly set rpath for linphone desktop on raspberry.

This commit is contained in:
Ghislain MARY 2016-07-07 14:01:31 +02:00
parent 1394dfdce1
commit fe46fb69df

View file

@ -59,6 +59,8 @@ class DesktopRaspberryTarget(prepare.Target):
self.toolchain_file = 'toolchains/toolchain-raspberry.cmake'
self.output = 'OUTPUT/' + self.name
self.external_source_path = os.path.join(current_path, 'submodules')
self.additional_args += ['-DCMAKE_INSTALL_RPATH=$ORIGIN/../lib']
self.additional_args += ['-DENABLE_RELATIVE_PREFIX=YES']
class PythonTarget(prepare.Target):