소스 검색

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")
-
     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_license("MIT")
@@ -15,9 +14,9 @@ package("wayland")
         add_extsources("apt::libwayland-dev", "pacman::wayland")
     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
         import("package.tools.meson")
         import("package.tools.autoconf")