From 8c44dc3b4284dc6292ee44900cdc570ca123fecd Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Fri, 25 Apr 2014 00:29:23 +0800 Subject: [PATCH] Newer version of the scripts upstream --- data/pkgconfig.sh | 2 +- doc/gtkdoc.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/pkgconfig.sh b/data/pkgconfig.sh index cac86f9..5482795 100755 --- a/data/pkgconfig.sh +++ b/data/pkgconfig.sh @@ -129,7 +129,7 @@ while [ $# -gt 0 ]; do if [ "$PREFIX" != "/usr" ]; then RPATH="-Wl,-rpath-link,\${libdir} -Wl,-rpath,\${libdir}" case $(uname -s) in - Darwin) + Darwin|SunOS) RPATH="-Wl,-rpath,\${libdir}" ;; esac diff --git a/doc/gtkdoc.sh b/doc/gtkdoc.sh index 86de5d4..34ecae5 100755 --- a/doc/gtkdoc.sh +++ b/doc/gtkdoc.sh @@ -83,7 +83,7 @@ while getopts "ciuP:" name; do uninstall=1 ;; P) - PREFIX="$2" + PREFIX="$OPTARG" ;; ?) _usage