package/zstd: Install tools into /usr/bin, not /usr/local/bin
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Sat, 16 Sep 2017 00:27:12 +0000 (17:27 -0700)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 20 Sep 2017 18:04:04 +0000 (20:04 +0200)
Install tools into /usr/bin, not /usr/local/bin, since /usr/local/bin
is not in PATH by deafault.

[Peter: set PREFIX to /usr to really install into /usr/bin]
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/zstd/zstd.mk

index 475079dbfe2bf811de8c145383546a0a8d044923..e836a81d62d6973508fcccdb9c2f06754a64bf18 100644 (file)
@@ -43,7 +43,7 @@ endef
 
 define ZSTD_INSTALL_TARGET_CMDS
        $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(ZSTD_OPTS) \
-               DESTDIR=$(TARGET_DIR) -C $(@D)/programs install
+               DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D)/programs install
 endef
 
 $(eval $(generic-package))