keep correct rpath when using -m32

This commit is contained in:
Struma 2020-04-29 23:46:05 -04:00 committed by Roza
parent b7028e4dd0
commit 49e19ce79f

View file

@ -162,7 +162,7 @@ else
add_project_arguments('-std=c++11', language: 'objcpp')
rpath = '$ORIGIN/lib'
if get_option('appimage') != true
if sizeof['long'] == 8
if sizeof['long'] == 8 and get_option('force32') != true
rpath += '64'
endif
endif