diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/libgcc.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc.inc b/meta/recipes-devtools/gcc/libgcc.inc index b185660ffd..96f1969d90 100644 --- a/meta/recipes-devtools/gcc/libgcc.inc +++ b/meta/recipes-devtools/gcc/libgcc.inc @@ -150,7 +150,7 @@ python do_extra_symlinks() { if targetsysnoext != d.getVar('TARGET_SYS', True): dest = d.getVar('D', True) + d.getVar('libdir', True) + '/' + targetsysnoext src = d.getVar('TARGET_SYS', True) - if not os.path.lexists(dest): + if not os.path.lexists(dest) and os.path.lexists(d.getVar('D', True) + d.getVar('libdir', True)): os.symlink(src, dest) } |