diff --git a/lxqt-panel.changes b/lxqt-panel.changes index ec87ad9..ca7a2ac 100644 --- a/lxqt-panel.changes +++ b/lxqt-panel.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Nov 6 10:38:53 UTC 2017 - mvetter@suse.com + +- Use pkg-config to determine cflags: + SR#535177 changed the location of xkbcommon-x11.h. + So far the path was hardcoded, now use pkg-config to determine + the actual path. + ------------------------------------------------------------------- Mon Oct 23 11:12:45 UTC 2017 - mvetter@suse.com diff --git a/lxqt-panel.spec b/lxqt-panel.spec index d609ebf..9c2689b 100644 --- a/lxqt-panel.spec +++ b/lxqt-panel.spec @@ -79,7 +79,7 @@ LXQt panel development files and headers %setup -q %build -export CXXFLAGS="%{optflags} -I/usr/include/pkg/libxkbcommon" +export CXXFLAGS="%{optflags} $(pkg-config --cflags xkbcommon-x11)" %cmake -DPULL_TRANSLATIONS=No -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" make %{?_smp_mflags}