meson: stop overriding libdir
authorØyvind Kolås <pippin@gimp.org>
Tue, 6 Aug 2019 11:46:35 +0000 (13:46 +0200)
committerØyvind Kolås <pippin@gimp.org>
Tue, 6 Aug 2019 11:47:17 +0000 (13:47 +0200)
Let meson do it's defaults, this mean we get installed in
prefix/lib/x86_64-linux-gnu/ instead of prefix/lib/
apparently which apparently is better - but different from
what autotools used to do; and leads to other paths also
needing potential adjustment.

meson.build

index 887e2881eb7cb1c07815fc304fca2d8206fb95ae..9cf4f8abe75a7318a340018277f5576752af5b5a 100644 (file)
@@ -3,7 +3,6 @@ project('babl', 'c',
   version: '0.1.71',
   meson_version: '>=0.49.0',
   default_options: [
-    'libdir=lib',
     'sysconfdir=/etc',
     'localstatedir=/var',
     'sharedstatedir=/var/lib'
@@ -365,7 +364,7 @@ pkgconfig.generate(filebase: 'babl',
   description: 'Dynamic, any to any, pixel format conversion library',
   version: meson.project_version(),
   libraries: [
-    '-L${libdir}',
+    '-L${babl_libdir}',
     '-l' + lib_name,
   ],
   libraries_private: [