mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-16 11:56:56 +00:00
build: fix path to libfakeroot on macOS
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
76368a5c0a
commit
6541028598
8
rules.mk
8
rules.mk
@ -264,7 +264,13 @@ endif
|
|||||||
|
|
||||||
BUILD_KEY=$(TOPDIR)/key-build
|
BUILD_KEY=$(TOPDIR)/key-build
|
||||||
|
|
||||||
FAKEROOT:=$(STAGING_DIR_HOST)/bin/fakeroot -l $(STAGING_DIR_HOST)/lib/libfakeroot.so -f $(STAGING_DIR_HOST)/bin/faked
|
ifeq ($(HOST_OS),Darwin)
|
||||||
|
FAKEROOT_SO:=$(STAGING_DIR_HOST)/lib/libfakeroot.dylib
|
||||||
|
else
|
||||||
|
FAKEROOT_SO:=$(STAGING_DIR_HOST)/lib/libfakeroot.so
|
||||||
|
endif
|
||||||
|
FAKEROOT:=$(STAGING_DIR_HOST)/bin/fakeroot -l $(FAKEROOT_SO) -f $(STAGING_DIR_HOST)/bin/faked
|
||||||
|
|
||||||
TARGET_CC:=$(TARGET_CROSS)gcc
|
TARGET_CC:=$(TARGET_CROSS)gcc
|
||||||
TARGET_CXX:=$(TARGET_CROSS)g++
|
TARGET_CXX:=$(TARGET_CROSS)g++
|
||||||
KPATCH:=$(SCRIPT_DIR)/patch-kernel.sh
|
KPATCH:=$(SCRIPT_DIR)/patch-kernel.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user