diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-02-21 13:22:42 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-02-23 20:34:33 +0100 |
commit | 253f240cc5804bde4fab685cefa1f4479e5c6586 (patch) | |
tree | 08db20f5e83a4958393e4b039dba7ba17f6c1d86 /package/shared-mime-info | |
parent | 1844bd894194d44472d7e1f41e3e0f52a6359117 (diff) | |
download | buildroot-novena-253f240cc5804bde4fab685cefa1f4479e5c6586.tar.gz buildroot-novena-253f240cc5804bde4fab685cefa1f4479e5c6586.zip |
shared-mime-info: run update-mime-database with correct env variables
When installing shared-mime-info on the target, we runn
update-mime-database, which has been built previously by building and
installing shared-mime-info for the host. However, for
update-mime-database (host version) to run properly, we must pass the
appropriate LD_LIBRARY_PATH variable.
We re-use the existing $(HOST_MAKE_ENV) variable to pass all the
appropriate variables.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/shared-mime-info')
-rw-r--r-- | package/shared-mime-info/shared-mime-info.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/shared-mime-info/shared-mime-info.mk b/package/shared-mime-info/shared-mime-info.mk index cfd3521b0..80b0cccd1 100644 --- a/package/shared-mime-info/shared-mime-info.mk +++ b/package/shared-mime-info/shared-mime-info.mk @@ -29,6 +29,6 @@ SHARED_MIME_INFO_HOST_BINARY:=$(HOST_DIR)/usr/bin/update-mime-database # update the shared-mime-info database in the target $(SHARED_MIME_INFO_HOOK_POST_INSTALL): host-shared-mime-info - $(SHARED_MIME_INFO_HOST_BINARY) $(STAGING_DIR)/usr/share/mime + $(HOST_MAKE_ENV) $(SHARED_MIME_INFO_HOST_BINARY) $(STAGING_DIR)/usr/share/mime $(INSTALL) -D $(STAGING_DIR)/usr/share/mime/mime.cache $(TARGET_DIR)/usr/share/mime/mime.cache touch $@ |