diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-09-21 22:22:03 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-21 22:22:03 -0700 |
commit | 7351ff62d7c345a075933f25b62967d3a97ae847 (patch) | |
tree | 6d95ef1e4e3e8232844213bcca58b26f780bf948 /packaging/windows | |
parent | 5982092858b2f5bd084a83e269f5185c1920a9bf (diff) | |
download | subsurface-7351ff62d7c345a075933f25b62967d3a97ae847.tar.gz |
More updates to MXE build script
Two more changes that are needed for this to build successfully.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/windows')
-rwxr-xr-x | packaging/windows/mxe-based-build.sh | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/packaging/windows/mxe-based-build.sh b/packaging/windows/mxe-based-build.sh index e7e5b9aa0..7d88f085d 100755 --- a/packaging/windows/mxe-based-build.sh +++ b/packaging/windows/mxe-based-build.sh @@ -8,6 +8,21 @@ # cd ~/src/win # git clone https://github.com/mxe/mxe # cd mxe +# +# now create a file settings.mk +#--- +# # This variable controls the number of compilation processes +# # within one package ("intra-package parallelism"). +# JOBS := 12 +# +# # This variable controls the targets that will build. +# MXE_TARGETS := i686-w64-mingw32.shared +#--- +# (documenting this in comments is hard... you need to remove +# the first '#' of course) +# +# now you can start the build +# # make libxml2 libxslt libusb1 qt5 # # after qtbase has finished building you need to edit @@ -30,6 +45,36 @@ # minutes to several hours) you should have a working MXE install in # ~/src/win/mxe # +# I also had to enable a shared build for libxslt in src/libxslt.mk +#--- +# diff --git a/src/libxslt.mk b/src/libxslt.mk +# index 99d59b6..3f5c3b4 100644 +# --- a/src/libxslt.mk +# +++ b/src/libxslt.mk +# @@ -18,11 +18,11 @@ define $(PKG)_UPDATE +# head -1 +# endef +# +# -define $(PKG)_BUILD +# +define $(PKG)_BUILD_SHARED +# cd '$(1)' && ./configure \ +# --host='$(TARGET)' \ +# --build="`config.guess`" \ +# - --disable-shared \ +# + --enable-shared \ +# --without-debug \ +# --prefix='$(PREFIX)/$(TARGET)' \ +# --with-libxml-prefix='$(PREFIX)/$(TARGET)' \ +# @@ -31,4 +31,3 @@ define $(PKG)_BUILD +# $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= +# endef +# +# -$(PKG)_BUILD_SHARED = +#--- +# after this run +# make libxslt +# again +# # Now this script will come in: # # This makes some assumption about the filesystem layout based |