diff options
author | David Tardon <dtardon@redhat.com> | 2012-03-01 10:46:37 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-03-01 15:51:32 +0100 |
commit | 2824a8b40289344c788c3b18f2e33f2e238eeff8 (patch) | |
tree | 450779148648c2a8615428fbb5940bbbe25171b3 /redland/rasqal/makefile.mk | |
parent | b8b088daf8c993e90b86a632c1077ae324414a84 (diff) |
get rasqal built with mingw
Diffstat (limited to 'redland/rasqal/makefile.mk')
-rw-r--r-- | redland/rasqal/makefile.mk | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/redland/rasqal/makefile.mk b/redland/rasqal/makefile.mk index 76146d4a7868..45dbba6f93fe 100644 --- a/redland/rasqal/makefile.mk +++ b/redland/rasqal/makefile.mk @@ -64,18 +64,21 @@ PATCH_FILES=$(OOO_PATCH_FILES) .IF "$(OS)"=="WNT" .IF "$(COM)"=="GCC" +OOO_PATCH_FILES+=$(TARFILE_NAME).patch.mingw rasqal_CC=$(CC) -mthreads .IF "$(MINGW_SHARED_GCCLIB)"=="YES" rasqal_CC+=-shared-libgcc .ENDIF rasqal_LIBS= -.IF "$(MINGW_SHARED_GXXLIB)"=="YES" -rasqal_LIBS+=$(MINGW_SHARED_LIBSTDCPP) + +rasqal_LDFLAGS=-Wl,--no-undefined -Wl,--enable-runtime-pseudo-reloc-v2,--export-all-symbols +.IF "$(ILIB)"!="" +rasqal_LDFLAGS+= -L$(ILIB:s/;/ -L/) .ENDIF CONFIGURE_DIR= CONFIGURE_ACTION=.$/configure PATH="..$/..$/..$/bin:$$PATH" -CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-openssl-digests --with-xml-parser=libxml --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --disable-pcre --with-decimal=none --with-www=xml --build=i586-pc-mingw32 --host=i586-pc-mingw32 lt_cv_cc_dll_switch="-shared" CC="$(rasqal_CC)" CPPFLAGS="-nostdinc $(INCLUDE)" LDFLAGS="-no-undefined -Wl,--enable-runtime-pseudo-reloc-v2,--export-all-symbols -L$(ILIB:s/;/ -L/)" LIBS="$(rasqal_LIBS)" OBJDUMP="$(WRAPCMD) objdump" LIBXML2LIB=$(LIBXML2LIB) XSLTLIB="$(XSLTLIB)" +CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-openssl-digests --with-xml-parser=libxml --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --disable-pcre --with-decimal=none --with-www=xml --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) lt_cv_cc_dll_switch="-shared" CC="$(rasqal_CC)" CPPFLAGS="$(INCLUDE)" LDFLAGS="$(rasqal_LDFLAGS)" LIBS="$(rasqal_LIBS)" OBJDUMP="$(WRAPCMD) $(HOST_PLATFORM)-objdump" LIBXML2LIB="$(LIBXML2LIB)" XSLTLIB="$(XSLTLIB)" BUILD_ACTION=$(GNUMAKE) BUILD_FLAGS+= -j$(EXTMAXPROCESS) BUILD_DIR=$(CONFIGURE_DIR) |