Browse Source

Fix build_pyqt function

tags/v1.0
falkTX 4 years ago
parent
commit
2d2ca5449f
1 changed files with 2 additions and 6 deletions
  1. +2
    -6
      bootstrap-carla.sh

+ 2
- 6
bootstrap-carla.sh View File

@@ -78,11 +78,6 @@ function build_pyqt() {
local extraconfrules="${3}"

local pkgdir="${PAWPAW_BUILDDIR}/${name}-${version}"
local python=python3

if ! which python3 > /dev/null; then
python=python
fi

local EXTRA_CFLAGS2="${EXTRA_CFLAGS}"
local EXTRA_CXXFLAGS2="${EXTRA_CXXFLAGS}"
@@ -93,10 +88,11 @@ function build_pyqt() {

if [ ! -f "${pkgdir}/.stamp_preconfigured" ]; then
pushd "${pkgdir}"
${python} configure.py ${extraconfrules}
python3 configure.py ${extraconfrules}
sed -i -e 's/CFLAGS =/CFLAGS +=/' */Makefile
sed -i -e 's/CXXFLAGS =/CXXFLAGS +=/' */Makefile
sed -i -e 's/LIBS =/LIBS += $(LDFLAGS)/' */Makefile
sed -i -e 's|$(DESTDIR)/usr|$(DESTDIR)$(PREFIX)|g' */Makefile
touch .stamp_preconfigured
popd
fi


Loading…
Cancel
Save