AIX: add support for shared builds

Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
Michael Kostylev 2013-07-25 11:37:20 -04:00 committed by Diego Biurrun
parent b512360184
commit 80ade7985c
1 changed files with 3 additions and 0 deletions

3
configure vendored
View File

@ -3050,7 +3050,10 @@ enabled spic && enable_weak pic
# OS specific
case $target_os in
aix)
SHFLAGS=-shared
add_cppflags '-I\$(SRC_PATH)/compat/aix'
enabled shared && add_ldflags -Wl,-brtl
ar_default='ar -Xany'
;;
haiku)
prefix_default="/boot/common"