summaryrefslogtreecommitdiff
path: root/ltmain.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ltmain.sh')
-rw-r--r--ltmain.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/ltmain.sh b/ltmain.sh
index e9350b3fa..0e884205b 100644
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -386,6 +386,7 @@ if test -z "$show_help"; then
prev=
prevarg=
release=
+ postfix=
rpath=
perm_rpath=
temp_rpath=
@@ -437,6 +438,11 @@ if test -z "$show_help"; then
prev=
continue
;;
+ postfix)
+ postfix="-$arg"
+ prev=
+ continue
+ ;;
rpath)
rpath="$rpath $arg"
prev=
@@ -520,6 +526,11 @@ if test -z "$show_help"; then
continue
;;
+ -postfix)
+ prev=postfix
+ continue
+ ;;
+
-rpath)
prev=rpath
continue
@@ -842,7 +853,7 @@ if test -z "$show_help"; then
;;
esac
- name=`$echo "X$output" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
+ name=`$echo "X$output" | $Xsed -e 's/\.la$//' -e 's/^lib//'`$postfix
eval libname=\"$libname_spec\"
# All the library-specific variables (install_libdir is set above).