Commit 181dbe9e authored by Pierre Ynard's avatar Pierre Ynard

contrib: add minimal errno.h target (for WinCE)

WinCE lacks errno support and thus doesn't have an errno.h header.
Since it is used like everywhere, contribs and VLC, we add a .errno
target in the contribs, that fetches a minimal errno.h that allows
everything to compile smoothly.

This is how it was done before too.
parent 1a881eeb
......@@ -229,6 +229,22 @@ endef
# $(INSTALL_NAME)
# touch $@
# ***************************************************************************
# errno
# ***************************************************************************
errno:
mkdir -p $@
$(WGET) $(ERRNO_URL)/errno.h -O $@/errno.h
.errno: errno
mkdir -p $(PREFIX)/include
cp $</errno.h $(PREFIX)/include
touch $@
CLEAN_FILE += .errno
CLEAN_PKG += errno
# ***************************************************************************
# autoconf
# ***************************************************************************
......
......@@ -32,6 +32,7 @@ LIBAMR_NB_VERSION=7.0.0.0
LIBAMR_NB=$(PENGUIN)/amrnb-$(LIBAMR_NB_VERSION).tar.bz2
LIBAMR_WB_VERSION=7.0.0.2
LIBAMR_WB=$(PENGUIN)/amrwb-$(LIBAMR_WB_VERSION).tar.bz2
ERRNO_URL=http://altair.videolan.org/~linkfanel/errno
AUTOCONF_VERSION=2.63
AUTOCONF_URL=$(GNU)/autoconf/autoconf-$(AUTOCONF_VERSION).tar.bz2
GNUMAKE_VERSION=3.81
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment