Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
skip xkbcommon dep when cross-compiling
Browse files Browse the repository at this point in the history
xkbcommon is built with meson, which does not support cross compilation yet
(conan-io/conan#4529)

(cherry picked from commit 1fb4aea)
  • Loading branch information
ericLemanissier committed Nov 4, 2019
1 parent 39dd240 commit 47a6c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conanfile.py
Expand Up @@ -260,7 +260,7 @@ def requirements(self):
if self.options.with_libalsa:
self.requires("libalsa/1.1.9")
if self.options.GUI:
if self.settings.os == "Linux":
if self.settings.os == "Linux" and not tools.cross_building(self.settings):
self.requires("xkbcommon/0.8.4@bincrafters/stable")

def system_requirements(self):
Expand Down

0 comments on commit 47a6c78

Please sign in to comment.