scons: fix library installation directory
PATCH 1/1 scons: fix library installation directory
On gentoo systems SCons setup.py tries to install into $(HOST_DIR)/usr/lib64 but SCons looks up for its stuff in $(HOST_DIR)/usr/lib instead hence breaking.
Make it install into $(HOST_DIR)/usr/lib by force to avoid the issue, it shouldn't matter on other distributions.
Version bumping doesn't fix it.
--- package/scons/scons.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
package/scons/scons.mk +1 -1
@@ -7,7 +7,7 @@ define HOST_SCONS_BUILD_CMDS endef define HOST_SCONS_INSTALL_CMDS - (cd $(@D); python setup.py install --prefix=$(HOST_DIR)/usr) + (cd $(@D); python setup.py install --prefix=$(HOST_DIR)/usr --install-lib=$(HOST_DIR)/usr/lib/scons-$(SCONS_VERSION)) endef $(eval $(host-generic-package))
Signature · 1 line
1.7.8.6
PATCH 1/1 scons: fix library installation directory
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Gustavo> On gentoo systems SCons setup.py tries to install into Gustavo> $(HOST_DIR)/usr/lib64 but SCons looks up for its stuff in Gustavo> $(HOST_DIR)/usr/lib instead hence breaking.
Gustavo> Make it install into $(HOST_DIR)/usr/lib by force to avoid the issue, it Gustavo> shouldn't matter on other distributions.
Gustavo> Version bumping doesn't fix it.
Gustavo> Signed-off-by: Gustavo Zacarias <[email protected]> Gustavo> ---
Gustavo> package/scons/scons.mk | 2 +-
Gustavo> 1 files changed, 1 insertions(+), 1 deletions(-)
Gustavo> diff --git a/package/scons/scons.mk b/package/scons/scons.mk Gustavo> index 2aed62c..878dcba 100644
Gustavo> --- a/package/scons/scons.mk
Gustavo> +++ b/package/scons/scons.mk
Gustavo> @@ -7,7 +7,7 @@ define HOST_SCONS_BUILD_CMDS Gustavo> endef
Gustavo> define HOST_SCONS_INSTALL_CMDS
Gustavo> - (cd $(@D); python setup.py install --prefix=$(HOST_DIR)/usr)
Gustavo> + (cd $(@D); python setup.py install --prefix=$(HOST_DIR)/usr --install-lib=$(HOST_DIR)/usr/lib/scons-$(SCONS_VERSION))
Committed with the line wrapped after ~80 chars, thanks.
Signature · 1 line
Bye, Peter Korsgaard