Skip to contentSkip to conversation

libmpdclient: fix install

PATCH New Fabrice Fontaine 2 participants 2 messages Mar 10, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 libmpdclient: fix install

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

---
Changes v3 -> v4 (after review of Peter Korsgaard):
- Use libdir instead of the ugly hack
Changes v2 -> v3:
- Add autobuilder links
Changes v1 -> v2:
- Fix install of libmpdclient.pc

 package/libmpdclient/libmpdclient.mk | 1 +
 1 file changed, 1 insertion(+)
package/libmpdclient/libmpdclient.mk +1 -0
index 3148fd2873..3ab8e9884c 100644
@@ -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
 
Signature · 1 line
2.14.1
#1 lore raw

PATCH v4 1/1 libmpdclient: fix install

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

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

Quoted 4 lines

---
Changes v3 -> v4 (after review of Peter Korsgaard):
- Use libdir instead of the ugly hack

Committed, thanks.

Are similar fixes also needed for systemd, enligtenment and mpd-mpc?

Signature · 1 line
Bye, Peter Korsgaard