workaround to undefined reference to rpl_malloc. cross compiling works now
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@624 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -32,15 +32,15 @@ restore_la = find "$(srcdir)/src/opensc/win32/build/image" -name '*.la' | while
|
||||
mv "$${f}.tmp" "$${f}"; \
|
||||
done
|
||||
|
||||
win-opensc:
|
||||
src/opensc/win32/build/image/opensc/lib/libopensc.la:
|
||||
cd $(top_srcdir)/src/opensc && \
|
||||
./bootstrap && \
|
||||
./configure --disable-doc && \
|
||||
EXTRA_OPENSC_CONFIG="`$(do_export)`" OPENSSL_VERSION="1.0.0e" OPENSSL_URL="https://www2.informatik.hu-berlin.de/~morgner/files/openssl-1.0.0e.tar.gz" EXTRA_OPENSSL_CONFIG="experimental-pace" win32/installer_from_build.sh
|
||||
|
||||
win:
|
||||
src/opensc/win32/build/image/opensc/lib/libnpa.la: src/opensc/win32/build/image/opensc/lib/libopensc.la
|
||||
$(fixup_la)
|
||||
./configure \
|
||||
export ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes; ./configure \
|
||||
--sbindir=/bin \
|
||||
--prefix=/ \
|
||||
--host=i586-mingw32msvc \
|
||||
@@ -52,6 +52,10 @@ win:
|
||||
make install DESTDIR=$(shell pwd)/src/opensc/win32/build/image/opensc
|
||||
$(restore_la)
|
||||
|
||||
win-opensc: src/opensc/win32/build/image/opensc/lib/libopensc.la
|
||||
|
||||
win: src/opensc/win32/build/image/opensc/lib/libnpa.la
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = libnpa.pc
|
||||
libnpa.pc:
|
||||
|
||||
Reference in New Issue
Block a user