diff --git a/mk/main.mk b/mk/main.mk index 2de18c9871a8d..4c4722a76b939 100644 --- a/mk/main.mk +++ b/mk/main.mk @@ -149,7 +149,7 @@ endif ifdef TRACE CFG_RUSTC_FLAGS += -Z trace endif -ifdef CFG_ENABLE_RPATH +ifndef CFG_DISABLE_RPATH CFG_RUSTC_FLAGS += -C rpath endif