[fprint] Crosscompiling libfprint

Karsten Jeppesen arm9263 at yahoo.com
Wed Aug 15 03:01:06 PDT 2012


Hi guys,

Well I got it compiled, but no telling is it is right yet. That will take me a day or two.

I used the information you gave me and concocted a workaround which is shown below.

Thanks a lot for all your help. I will continue monitor this list in case you get it more streamlined and then I will report what I see.

Sincerely,

Karsten


%setup
libtoolize || exit 1
aclocal || exit 1
autoheader || exit 1
autoconf || exit 1
automake -a -c || exit 1


%build
# ---- SPECIAL: Must build support application and store it for xcomp build
./configure
make
tar czf /tmp/libfprint-support-app.tar.gz ./libfprint/fprint-list-udev-rules ./libfprint/60-fprint-autosuspend.rules
make clean
# ---- build section header (22)
# ---- End of build section header
# ---- Additional declares to circumvent pkgconfig calls ----
export LIBUSB_CFLAGS=" -I/usr/include/libusb-1.0"
export LIBUSB_LIBS=" -lusb-1.0"
export CRYPTO_CFLAGS=""
export CRYPTO_LIBS=" -lcrypto -ldl -lz"
export CRYPTO_LIBS=" -ldl -lz"
#export GLIB_CFLAGS=" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include"
#export GLIB_LIBS=" -lglib-2.0"
#export GLIB_LIBS="   "
# ----
%configure --disable-static --with-drivers=aes2501 --enable-udev-rules=no
# ---- SPECIAL: Retrieve the support application for host
tar xf /tmp/libfprint-support-app.tar.gz
make %{?_smp_mflags}
pushd doc
make docs
popd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fprint/attachments/20120815/fa9c887c/attachment.html>


More information about the fprint mailing list