static build instructions in.
couldn't stand the uneveness.
This commit is contained in:
committed by
DoctorWho11
parent
c0c6760903
commit
c59a33b86e
@@ -1,5 +1,6 @@
|
||||
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
||||
# Contributor: Renato Silva <br.renatosilva@gmail.com>
|
||||
# Contributor: Zach Bacon <11doctorwhocanada@gmail.com>
|
||||
|
||||
_realname=wxWidgets
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
@@ -46,12 +47,40 @@ build() {
|
||||
--enable-iff \
|
||||
--enable-permissive \
|
||||
--enable-unicode \
|
||||
--enable-graphics_ctx \
|
||||
--enable-accessibility \
|
||||
--disable-mediactrl \
|
||||
--disable-monolithic \
|
||||
--disable-mslu \
|
||||
--disable-precomp-headers \
|
||||
--with-msw
|
||||
--with-msw \
|
||||
--with-opengl
|
||||
|
||||
make #VERBOSE=1
|
||||
|
||||
#CXXFLAGS+=" -std=gnu++11"
|
||||
[[ -d ${srcdir}/build-${CARCH}-static ]] && rm -rf ${srcdir}/build-${CARCH}-static
|
||||
mkdir -p ${srcdir}/build-${CARCH}-static && cd ${srcdir}/build-${CARCH}-static
|
||||
|
||||
../${_realname}-${pkgver}/configure \
|
||||
--prefix=${MINGW_PREFIX} \
|
||||
--host=${MINGW_CHOST} \
|
||||
--target=${MINGW_CHOST} \
|
||||
--build=${MINGW_CHOST} \
|
||||
--enable-static \
|
||||
--disable-shared \
|
||||
--enable-iniconf \
|
||||
--enable-iff \
|
||||
--enable-permissive \
|
||||
--enable-unicode \
|
||||
--enable-graphics_ctx \
|
||||
--enable-accessibility \
|
||||
--disable-mediactrl \
|
||||
--disable-monolithic \
|
||||
--disable-mslu \
|
||||
--disable-precomp-headers \
|
||||
--with-msw \
|
||||
--with-opengl
|
||||
|
||||
make #VERBOSE=1
|
||||
}
|
||||
@@ -59,6 +88,9 @@ build() {
|
||||
package() {
|
||||
cd ${srcdir}/build-${CARCH}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
cd ${srcdir}/build-${CARCH}-static
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
mv ${pkgdir}${MINGW_PREFIX}/lib/*.dll ${pkgdir}${MINGW_PREFIX}/bin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user