summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Kostylev <michael.kostylev@gmail.com>2013-07-25 11:37:20 -0400
committerDiego Biurrun <diego@biurrun.de>2013-07-26 21:12:36 +0200
commit80ade7985cd95156e2156f50adc7b86d0e43a07a (patch)
treed26e3bd76329f738cf542c77056b870ad9d8fc72 /configure
parentb512360184ade835fba621f5042d643fc9e2ee9d (diff)
AIX: add support for shared builds
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index adda2cf772..6b52eff3c4 100755
--- a/configure
+++ b/configure
@@ -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"