summaryrefslogtreecommitdiff
path: root/sdk/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-04-26 14:11:32 +0100
committerVincent Sanders <vince@kyllikki.org>2015-04-26 14:11:32 +0100
commita2188457cf608cdc3c24e317cff82b7dd7a5f45a (patch)
tree88b4bd33f15cfcc81d4f4ac360afbdf61cf2f0de /sdk/Makefile
parentd819cc6759c3d3a52323aeecf688862767e52d39 (diff)
downloadtoolchains-a2188457cf608cdc3c24e317cff82b7dd7a5f45a.tar.gz
toolchains-a2188457cf608cdc3c24e317cff82b7dd7a5f45a.tar.bz2
Fix mingw libgnurx building for static libraries
This uses the Fedora mingw-libgnurx package approach to make the autofoo in the gnurx library less broken allowing teh generation of static libraries.
Diffstat (limited to 'sdk/Makefile')
-rw-r--r--sdk/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/sdk/Makefile b/sdk/Makefile
index 234a434..09bba8a 100644
--- a/sdk/Makefile
+++ b/sdk/Makefile
@@ -195,15 +195,19 @@ $(SOURCEDIR)/libiconv-$(VERSION_LIBICONV).tar.gz:
# libgnurx
$(BUILDSTEPS)/libgnurx.d: $(BUILDSTEPS)/builddir.d $(BUILDSTEPS)/libgnurx-src.d
- mkdir -p $(BUILDDIR)/libgnurx
- cd $(BUILDDIR)/libgnurx && tar xaf $(SOURCEDIR)/libgnurx-$(VERSION_LIBGNURX).tar.gz
- for p in `ls $(RECIPES)/patches/libgnurx/*.p` ; do $(PATCH) -d $(BUILDDIR)/libgnurx/mingw-libgnurx-$(VERSION_LIBGNURX) -p0 <$$p ; done
- cd $(BUILDDIR)/libgnurx/mingw-libgnurx-$(VERSION_LIBGNURX) && $(env) ./configure --prefix=$(GCCSDK_INSTALL_ENV) --target=$(TARGET) --host=$(TARGET)
+ cd $(BUILDDIR)/libgnurx/mingw-libgnurx-$(VERSION_LIBGNURX) && $(env) ./configure --prefix=$(GCCSDK_INSTALL_ENV) --target=$(TARGET) --host=$(TARGET) --enable-static --disable-shared
cd $(BUILDDIR)/libgnurx/mingw-libgnurx-$(VERSION_LIBGNURX) && $(env) make
cd $(BUILDDIR)/libgnurx/mingw-libgnurx-$(VERSION_LIBGNURX) && $(env) make install
touch $@
$(BUILDSTEPS)/libgnurx-src.d: $(BUILDSTEPS)/sourcedir.d $(SOURCEDIR)/libgnurx-$(VERSION_LIBGNURX).tar.gz
+ mkdir -p $(BUILDDIR)/libgnurx
+ cd $(BUILDDIR)/libgnurx && tar xaf $(SOURCEDIR)/libgnurx-$(VERSION_LIBGNURX).tar.gz
+ for p in $$(ls $(RECIPES)/patches/libgnurx/*.p) ; do $(PATCH) -d $(BUILDDIR)/libgnurx/mingw-libgnurx-$(VERSION_LIBGNURX) -p0 <$$p ; done
+ cd $(BUILDDIR)/libgnurx/mingw-libgnurx-$(VERSION_LIBGNURX) && $(env) libtoolize --copy
+ cd $(BUILDDIR)/libgnurx/mingw-libgnurx-$(VERSION_LIBGNURX) && $(env) aclocal
+ cd $(BUILDDIR)/libgnurx/mingw-libgnurx-$(VERSION_LIBGNURX) && $(env) autoconf
+ cd $(BUILDDIR)/libgnurx/mingw-libgnurx-$(VERSION_LIBGNURX) && $(env) automake --add-missing
touch $@
$(SOURCEDIR)/libgnurx-$(VERSION_LIBGNURX).tar.gz: