diff options
author | Arch Librarian <arch@canonical.com> | 2005-07-14 13:04:59 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2005-07-14 13:04:59 +0000 |
commit | fa090373fc83cc925f6391bdeb0b059e4e2b6e7a (patch) | |
tree | 44dfc7f0754a13294ae3acdbcedc914a6d5ebb1a /autogen.sh | |
parent | 253c67066ff10d40fe6bc5163c227bf69fae5056 (diff) | |
download | pkg-config-fa090373fc83cc925f6391bdeb0b059e4e2b6e7a.tar.gz |
2002-02-07 Havoc Pennington <hp@redhat.com>
Author: hp
Date: 2002-02-07 19:54:49 GMT
2002-02-07 Havoc Pennington <hp@redhat.com>
* autogen.sh: patch gslist.c so that it has a stable sort
function, so we don't utterly mangle the order of the libraries on
the link line.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -59,6 +59,9 @@ perl -p -i.bak -e "s/[a-zA-Z0-9]+_DATA/noinst_DATA/g" `find glib-1.2.8 -name Mak perl -p -i.bak -e "s/info_TEXINFOS/noinst_TEXINFOS/g" `find glib-1.2.8 -name Makefile.am` perl -p -i.bak -e "s/man_MANS/noinst_MANS/g" `find glib-1.2.8 -name Makefile.am` +## patch gslist.c to have stable sort +perl -p -w -i.bak -e 's/if \(compare_func\(l1->data,l2->data\) < 0\)/if \(compare_func\(l1->data,l2->data\) <= 0\)/g' glib-1.2.8/gslist.c + (cd glib-1.2.8 && libtoolize --copy --force && $ACLOCAL $ACLOCAL_FLAGS && $AUTOMAKE && autoconf) if test -z "$*"; then |