mirror of
https://github.com/amd/blis.git
synced 2026-05-13 18:52:14 +00:00
Merge pull request #519 from awild82/oot_build_bugfix
Fix installation from out-of-tree builds
This commit is contained in:
17
configure
vendored
17
configure
vendored
@@ -3629,6 +3629,23 @@ main()
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# If 'blis.pc.in' symlink does not already exist in the current
|
||||
# directory, create a symbolic link to it. If one does exist, we
|
||||
# use -f to force creation of a new link.
|
||||
if [ ! -e "./blis.pc.in" ]; then
|
||||
|
||||
echo "${script_name}: creating symbolic link to blis.pc.in."
|
||||
ln -s "${dist_path}/blis.pc.in"
|
||||
|
||||
elif [ -h "./blis.pc.in" ]; then
|
||||
echo "${script_name}: symbolic link to blis.pc.in already exists; forcing creation of new link."
|
||||
ln -sf "${dist_path}/blis.pc.in"
|
||||
else
|
||||
echo "${script_name}: Non-symbolic link file or directory 'blis.pc.in' blocks creation of symlink."
|
||||
echo "${script_name}: *** Please remove this entity and re-run configure."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# If 'common.mk' symlink does not already exist in the current
|
||||
# directory, create a symbolic link to it. If one does exist, we
|
||||
# use -f to force creation of a new link.
|
||||
|
||||
Reference in New Issue
Block a user