Fix linking native libs in mingw-w64-qt5-tools
Also replace combined use of -lQt5QmlDevTools -lQt5Bootstrap
This commit is contained in:
parent
74fab61ce8
commit
ac7d2c34f1
|
@ -61,6 +61,7 @@ build() {
|
|||
# Search paths for host standard library (/usr/lib) and for Qt5Bootstrap (/usr/$_arch/lib) are not set correctly by qmake
|
||||
# hence we need insert those paths manually
|
||||
make qmake_all
|
||||
find . -type f -iname 'Makefile' -exec sed -i "s|-L/usr/$_arch/lib -lQt5QmlDevTools -lQt5Bootstrap|-L/usr/lib /usr/$_arch/lib/libQt5QmlDevTools.so /usr/$_arch/lib/libQt5Bootstrap.so|g" {} \;
|
||||
find . -type f -iname 'Makefile' -exec sed -i "s|-L/usr/$_arch/lib -lQt5QmlDevTools|-L/usr/lib /usr/$_arch/lib/libQt5QmlDevTools.so|g" {} \;
|
||||
find . -type f -iname 'Makefile' -exec sed -i "s|-L/usr/$_arch/lib -lQt5Bootstrap|-L/usr/lib /usr/$_arch/lib/libQt5Bootstrap.so|g" {} \;
|
||||
|
||||
|
|
Loading…
Reference in New Issue