diff options
author | Tor Lillqvist <tml@novell.com> | 2005-12-07 03:57:14 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-12-07 03:57:14 +0000 |
commit | d63b58e8c5ff7288804c5c7ca98418c0a37ef557 (patch) | |
tree | 928bad5c85183bde3580dd16ecac280015cd529d /glib-gettextize.in | |
parent | d3388eb4e8e0ae28985c59e88aa676665e651953 (diff) |
Look up prefix at run-time on Win32, assuming the standard directory
2005-12-07 Tor Lillqvist <tml@novell.com>
* glib-gettextize.in: Look up prefix at run-time on Win32,
assuming the standard directory structure with glib-gettextize in
$prefix/bin.
Diffstat (limited to 'glib-gettextize.in')
-rw-r--r-- | glib-gettextize.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/glib-gettextize.in b/glib-gettextize.in index 01ce883f5..05642d7c2 100644 --- a/glib-gettextize.in +++ b/glib-gettextize.in @@ -43,7 +43,13 @@ try_ln_s=: # Directory where the sources are stored. prefix=@prefix@ -gettext_dir=@prefix@/share/glib-2.0/gettext +case `uname` in +MINGW32*) + prefix="`dirname $0`/.." + ;; +esac + +gettext_dir=$prefix/share/glib-2.0/gettext while test $# -gt 0; do case "$1" in |