diff options
author | Donald Carr | 2017-09-13 01:14:34 -0700 |
---|---|---|
committer | Donald Carr | 2017-09-13 01:17:05 -0700 |
commit | 845f5e863f864a36aca6b148fc2b2fe29a0bd20d (patch) | |
tree | b013f00e1219d891a1f48bb935d45ff057a4853a | |
parent | 4dea61087bebcd90f53b2ed6da99dfb36a82a315 (diff) | |
download | aur-845f5e863f864a36aca6b148fc2b2fe29a0bd20d.tar.gz |
Remove linking against system libs from static build
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -164,7 +164,17 @@ _source_package_name=${_qt_package_name_prefix}-${_pkgver} _baseprefix=/opt _installprefix=${_baseprefix}/${pkgname} -$_static_build || _additional_configure_flags="$_additional_configure_flags -hostprefix ${_installprefix}" +if $_static_build; then + _additional_configure_flags="$_additional_configure_flags -no-ico" +else + _additional_configure_flags="$_additional_configure_flags \ + -hostprefix ${_installprefix} \ + -fontconfig \ + -system-sqlite \ + -system-freetype \ + -system-harfbuzz \ + " +fi pkgdesc="Qt SDK for the Raspberry Pi 1/2/3" arch=("x86_64") @@ -197,10 +207,6 @@ _core_configure_options="\ -v \ -silent \ -release \ - -fontconfig \ - -system-sqlite \ - -system-freetype \ - -system-harfbuzz \ -pch \ -opengl es2 \ -egl \ |