Ah, it is actually kind of obvious why my regex substitution hack fails in your case. It assumes that the build is located under /build/…
(as it is the case when using the official makechrootpkg
helper) but in your case it is under /tmp/…
. Likely it works with in both cases:
_fix_deps_of_static_3rdparty_libs='s:\(LIBS *= *\)\(.*\)\(\/.*\/lib\/libqt\)\(openwnn\|pinyin\|tcime\)\(d*\.a\)\(.*\):\1 \3\4\5 \2 \6:g'
I'll try that regex when rebuilding anyways. In the meantime, you can try it yourself. If it doesn't work you might play around with it. (Obviously a real fix for the qmake build system would be even better.)
Pinned Comments
Martchus commented on 2016-07-10 19:40 (UTC)