]> git.pld-linux.org Git - packages/libtextstyle.git/blame - libtextstyle-libdir.patch
- use system glib2, libcroco, libxml2
[packages/libtextstyle.git] / libtextstyle-libdir.patch
CommitLineData
af3518ff
JB
1--- libtextstyle-0.20.5/gnulib-m4/lib-prefix.m4.orig 2020-04-21 00:29:38.614580831 +0200
2+++ libtextstyle-0.20.5/gnulib-m4/lib-prefix.m4 2020-04-21 00:42:56.945602835 +0200
3@@ -283,6 +283,7 @@
4 case "$searchdir" in
5 */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;;
6 */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;;
7+ */libx32/ | */libx32 ) acl_libdirstem3=libx32 ;;
8 */../ | */.. )
9 # Better ignore directories of this form. They are misleading.
10 ;;
11@@ -290,6 +291,7 @@
12 case "$searchdir" in
13 */lib32 ) acl_libdirstem2=lib32 ;;
14 */lib64 ) acl_libdirstem3=lib64 ;;
15+ */libx32 ) acl_libdirstem3=libx32 ;;
16 esac ;;
17 esac
18 fi
19--- libtextstyle-0.20.5/gnulib-m4/lib-link.m4.orig 2016-06-11 14:59:32.000000000 +0200
20+++ libtextstyle-0.20.5/gnulib-m4/lib-link.m4 2017-02-05 14:27:31.840415976 +0100
21@@ -370,7 +370,12 @@
22 fi
23 if test "X$found_dir" != "X"; then
24 dnl Found the library.
25+
26+ if test "X$found_dir" = "X/usr/$acl_libdirstem" || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
27+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
28+ else
29 LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
30+ fi
31 if test "X$found_so" != "X"; then
32 dnl Linking with a shared library. We attempt to hardcode its
33 dnl directory into the executable's runpath, unless it's the
This page took 0.107765 seconds and 4 git commands to generate.