You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libart_lgpl/libart-multilib.patch

34 lines
924 B

--- libart_lgpl-2.3.17/libart-config.in.multilib 2006-07-27 18:02:06.000000000 -0400
+++ libart_lgpl-2.3.17/libart-config.in 2006-07-27 18:02:11.000000000 -0400
@@ -1,7 +1,9 @@
#!/bin/sh
-prefix=@prefix@
-exec_prefix=@exec_prefix@
+includedir=`pkg-config --variable includedir libart-2.0`
+libdir=`pkg-config --variable libdir libart-2.0`
+prefix=`pkg-config --variable prefix libart-2.0`
+exec_prefix=`pkg-config --variable exec_prefix libart-2.0`
exec_prefix_set=no
usage="\
@@ -36,15 +38,13 @@
echo $exec_prefix
;;
--version)
- echo @LIBART_VERSION@
+ pkg-config --modversion libart-2.0
;;
--cflags)
- includes=-I@includedir@/libart-2.0
- echo $includes
+ echo -I$includedir/libart-2.0
;;
--libs)
- libdirs=-L@libdir@
- echo $libdirs -lart_lgpl_2 -lm
+ echo -L$libdir -lart_lgpl_2 -lm
;;
*)
echo "${usage}" 1>&2