package/lz4: only use PREFIX for host installation
As noted by Peter Korsgaard, using DESTDIR=$(HOST_DIR) and PREFIX=/usr for the host installation is useless and actually incorrect (the pkg-config file contains incorrect paths). Instead, using PREFIX=$(HOST_DIR)/usr is simpler, and actually correct. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
2661c4f1b7
commit
c8cca4c192
@ -22,8 +22,8 @@ define HOST_LZ4_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_LZ4_INSTALL_CMDS
|
define HOST_LZ4_INSTALL_CMDS
|
||||||
$(MAKE) $(HOST_CONFIGURE_OPTS) DESTDIR=$(HOST_DIR) \
|
$(MAKE) $(HOST_CONFIGURE_OPTS) PREFIX=$(HOST_DIR)/usr \
|
||||||
PREFIX=/usr install -C $(@D)
|
install -C $(@D)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define LZ4_BUILD_CMDS
|
define LZ4_BUILD_CMDS
|
||||||
|
Loading…
Reference in New Issue
Block a user