mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-22 11:37:56 -04:00
Merge pull request #1071 from sgourdas/feature/nostrip
Added nostrip to CONFIG to avoid illegal binary strips on WSL
This commit is contained in:
commit
7e2012d00d
@ -8,6 +8,9 @@ QT += core gui network
|
|||||||
QT += webenginewidgets
|
QT += webenginewidgets
|
||||||
QT += printsupport
|
QT += printsupport
|
||||||
|
|
||||||
|
# Avoid stripping incompatible files, due to false identification as executables, on WSL
|
||||||
|
DETECT_WSL = $$system(test -f /proc/sys/fs/binfmt_misc/WSLInterop && echo true || echo false)
|
||||||
|
equals(DETECT_WSL , "true"): CONFIG += nostrip
|
||||||
CONFIG += link_pkgconfig
|
CONFIG += link_pkgconfig
|
||||||
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
|
Loading…
x
Reference in New Issue
Block a user