summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/usr-ldscript.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/usr-ldscript.eclass b/eclass/usr-ldscript.eclass
index 7e406267b644..4ee129bda836 100644
--- a/eclass/usr-ldscript.eclass
+++ b/eclass/usr-ldscript.eclass
@@ -37,6 +37,7 @@ gen_usr_ldscript() {
local lib libdir=$(get_libdir) output_format="" auto=false suffix=$(get_libname)
tc-is-static-only && return
+ use prefix && return
# We only care about stuffing / for the native ABI. #479448
if [[ $(type -t multilib_is_native_abi) == "function" ]] ; then