mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
package/musl: remove obsolete setting of prefix
Using the config option '--libdir=/lib' makes the setting of prefix to an empty path obsolete in MUSL_INSTALL_TARGET_CMDS. Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
c492abf96e
commit
424abf2f1b
@ -40,11 +40,9 @@ define MUSL_INSTALL_STAGING_CMDS
|
|||||||
DESTDIR=$(STAGING_DIR) install-libs install-tools install-headers
|
DESTDIR=$(STAGING_DIR) install-libs install-tools install-headers
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# prefix is set to an empty value to get the C library installed in
|
|
||||||
# /lib and not /usr/lib
|
|
||||||
define MUSL_INSTALL_TARGET_CMDS
|
define MUSL_INSTALL_TARGET_CMDS
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||||
DESTDIR=$(TARGET_DIR) prefix= install-libs
|
DESTDIR=$(TARGET_DIR) install-libs
|
||||||
$(RM) $(addprefix $(TARGET_DIR)/lib/,crt1.o crtn.o crti.o Scrt1.o)
|
$(RM) $(addprefix $(TARGET_DIR)/lib/,crt1.o crtn.o crti.o Scrt1.o)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user