Skip to content

Commit 5f5185e

Browse files
authored
Merge pull request godotengine#8503 from idoleat/master
Add an option to soft link besides copying for libatomic.a on linuxbsd
2 parents 45051e1 + 4219b92 commit 5f5185e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contributing/development/compiling/compiling_for_linuxbsd.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,9 @@ There are two solutions:
387387

388388
- In your SCons command, add the parameter ``use_static_cpp=no``.
389389
- Follow `these instructions <https://github.com/ivmai/libatomic_ops#installation-and-usage>`__ to configure, build, and
390-
install ``libatomic_ops``. Then, copy ``/usr/lib/libatomic_ops.a`` to ``/usr/lib/libatomic.a``.
390+
install ``libatomic_ops``. Then, copy ``/usr/lib/libatomic_ops.a`` to ``/usr/lib/libatomic.a``, or create a soft link
391+
to ``libatomic_ops`` by command ``ln -s /usr/lib/libatomic_ops.a /usr/lib/libatomic.a``. The soft link can ensure the
392+
latest ``libatomic_ops`` will be used without the need to copy it everytime when it is updated.
391393

392394
Using mold for faster development
393395
---------------------------------

0 commit comments

Comments
 (0)