mirror of
https://github.com/mappu/miqt.git
synced 2025-02-23 04:50:24 +00:00
genbindings/config: block qdtls on Qt 5
This commit is contained in:
parent
cae8967119
commit
e72fcf40e9
@ -79,7 +79,15 @@ func ProcessLibraries(clangBin, outDir, extraLibsDir string) {
|
|||||||
[]string{
|
[]string{
|
||||||
"/usr/include/x86_64-linux-gnu/qt5/QtNetwork",
|
"/usr/include/x86_64-linux-gnu/qt5/QtNetwork",
|
||||||
},
|
},
|
||||||
AllowAllHeaders,
|
func(fullpath string) bool {
|
||||||
|
baseName := filepath.Base(fullpath)
|
||||||
|
if baseName == "qdtls.h" {
|
||||||
|
// Qt 5 as distributed by Brew removes all the DTLS functionality.
|
||||||
|
// @ref
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
|
},
|
||||||
clangBin,
|
clangBin,
|
||||||
pkgConfigCflags("Qt5Network"),
|
pkgConfigCflags("Qt5Network"),
|
||||||
outDir,
|
outDir,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user