Преглед на файлове

Fix wayland installation if pkg-config is not installed (#1688)

Jérôme Leclercq преди 2 години
родител
ревизия
9b1de32867
променени са 1 файла, в които са добавени 2 реда и са изтрити 3 реда
  1. 2 3
      packages/w/wayland/xmake.lua

+ 2 - 3
packages/w/wayland/xmake.lua

@@ -1,5 +1,4 @@
 package("wayland")
 package("wayland")
-
     set_homepage("https://wayland.freedesktop.org/")
     set_homepage("https://wayland.freedesktop.org/")
     set_description("Wayland is a protocol for a compositor to talk to its clients as well as a C library implementation of that protocol.")
     set_description("Wayland is a protocol for a compositor to talk to its clients as well as a C library implementation of that protocol.")
     set_license("MIT")
     set_license("MIT")
@@ -15,9 +14,9 @@ package("wayland")
         add_extsources("apt::libwayland-dev", "pacman::wayland")
         add_extsources("apt::libwayland-dev", "pacman::wayland")
     end
     end
 
 
-    add_deps("meson", "libxml2", "libffi", "expat", "bison")
-    on_install("linux", function (package)
+    add_deps("meson", "libxml2", "libffi", "expat", "bison", "pkg-config")
 
 
+    on_install("linux", function (package)
         -- imports
         -- imports
         import("package.tools.meson")
         import("package.tools.meson")
         import("package.tools.autoconf")
         import("package.tools.autoconf")