libmpdclient: fix install
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 10 Mar 2018 21:45:34 +0000 (22:45 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 10 Mar 2018 22:49:05 +0000 (23:49 +0100)
By default, meson adds the build machine architecture for installation,
see: https://github.com/mesonbuild/meson/issues/2535
Use --libdir to override this default behavior

Fixes:
 - http://autobuild.buildroot.net/results/aec/aec9f3de545a832b66cd00c217fbaa99246e1715
 - http://autobuild.buildroot.net/results/07a/07adcba71106a2dca963e4071f4673791b41a603
 - http://autobuild.buildroot.net/results/a27/a272a8e521863374901a5e3c0fb9da0b8daa4076

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libmpdclient/libmpdclient.mk

index 3148fd2873ac34eb73793447ef5f2525af067e3c..3ab8e9884c01d4a9061be6d4bec039d3ab1ca7c1 100644 (file)
@@ -15,6 +15,7 @@ LIBMPDCLIENT_DEPENDENCIES = host-meson
 
 LIBMPDCLIENT_CONF_OPTS += \
        --prefix=/usr \
+       --libdir=/usr/lib \
        --buildtype $(if $(BR2_ENABLE_DEBUG),debug,release) \
        --cross-file $(HOST_DIR)/etc/meson/cross-compilation.conf