(So far, the paths are relative, so they are of doubtful use, but
the main bits are here.)
done
if [ -n "$PC" ] ; then
echo -n " "
- PKG_CONFIG_PATH="$PKG_CONFIG_PATH:obj/pkg-config" pkg-config --libs $PC
+ PKG_CONFIG_PATH="$PKG_CONFIG_PATH:obj/pkgconfig" pkg-config --libs $PC
fi
# pkg-config metadata for libcharset
+libdir=@LIBDIR@
+incdir=.
+
Name: libcharset
Description: Character set conversion library
Version: @SHERLOCK_VERSION@
-Libs: -Lobj/charset -lcharset
+Cflags: -I${incdir}
+Libs: -L${libdir} -lcharset
Requires: @DEPS@
# pkg-config metadata for libimages
+libdir=@LIBDIR@
+incdir=.
+
Name: libimages
Description: Sherlock image library
Version: @SHERLOCK_VERSION@
-Libs: -Lobj/images -limages -lm -lpthread @LIBIMAGES_LIBS@
+Cflags: -I${incdir}
+Libs: -L${libdir} -limages -lm -lpthread @LIBIMAGES_LIBS@
Requires: @DEPS@
# pkg-config metadata for libucw
+libdir=@LIBDIR@
+incdir=.
+
#ifdef CONFIG_UCW_THREADS
threads=-lpthread
#else
Name: libucw
Description: A library of utility functions and data structures
Version: @SHERLOCK_VERSION@
-Libs: -Lobj/lib -lucw ${threads}
+Cflags: -I${incdir}
+Libs: -L${libdir} -lucw ${threads}