opnsense-ports/lang/rust/files/patch-mk_main.mk
Franco Fichtner 69b48d3f1e */*: sync with upstream
Taken from: FreeBSD
2015-09-10 05:23:56 +02:00

11 lines
336 B
Makefile

--- mk/main.mk.orig 2015-09-03 11:50:44 UTC
+++ mk/main.mk
@@ -107,7 +107,7 @@ ifneq ($(wildcard $(NON_BUILD_TARGET)),)
CFG_INFO := $(info cfg: non-build target triples $(NON_BUILD_TARGET))
endif
-CFG_RUSTC_FLAGS := $(RUSTFLAGS)
+CFG_RUSTC_FLAGS := $(RUSTFLAGS) -L%%LOCALBASE%%/lib
CFG_GCCISH_CFLAGS :=
CFG_GCCISH_LINK_FLAGS :=