mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
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. [Peter: wrapped long line] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
f9d2bcd142
commit
b08979477d
@ -7,7 +7,8 @@ define HOST_SCONS_BUILD_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define HOST_SCONS_INSTALL_CMDS
|
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
|
endef
|
||||||
|
|
||||||
$(eval $(host-generic-package))
|
$(eval $(host-generic-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user