mirror of
https://github.com/mappu/miqt.git
synced 2025-02-22 12:30:23 +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{
|
||||
"/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,
|
||||
pkgConfigCflags("Qt5Network"),
|
||||
outDir,
|
||||
|
Loading…
x
Reference in New Issue
Block a user