Browse Source

improve libgamemodeauto pkg-config file

Rename the pkg-config entry for libgamemodeauto, to it make it more that this will link against a library, compared to what the `gamemode` pkg-config does. This also removes the manual addition of the libdl dependency, this is done by Meson automatically.

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
Stephan Lachnit 4 years ago
parent
commit
8b408694b0
1 changed files with 3 additions and 6 deletions
  1. 3 6
      lib/meson.build

+ 3 - 6
lib/meson.build

@@ -62,14 +62,11 @@ pkg.generate(
 )
 
 pkg.generate(
-  name: 'gamemode',
+  name: 'libgamemodeauto',
   description: desc,
-  filebase: 'gamemode-auto',
-  libraries: gamemodeauto,
+  filebase: 'libgamemodeauto',
+  libraries: libgamemodeauto,
   version: meson.project_version(),
-  libraries_private: [
-    libdl
-  ],
 )
 
 # Dependency objects