Parcourir la source

Add an option to soft link besides copying

The document suggests copy `/usr/lib/libatomic_ops.a` to
`/usr/lib/libatomic.a`. Instead of copying, using a soft link to
libatomic_ops is also an option. The reason to soft link is also added.
I have successfully built Godot by using soft link.
idoleat il y a 1 an
Parent
commit
4219b924bf

+ 3 - 1
contributing/development/compiling/compiling_for_linuxbsd.rst

@@ -387,7 +387,9 @@ There are two solutions:
 
 - In your SCons command, add the parameter ``use_static_cpp=no``.
 - Follow `these instructions <https://github.com/ivmai/libatomic_ops#installation-and-usage>`__ to configure, build, and
-  install ``libatomic_ops``. Then, copy ``/usr/lib/libatomic_ops.a`` to ``/usr/lib/libatomic.a``.
+  install ``libatomic_ops``. Then, copy ``/usr/lib/libatomic_ops.a`` to ``/usr/lib/libatomic.a``, or create a soft link
+  to ``libatomic_ops`` by command ``ln -s /usr/lib/libatomic_ops.a /usr/lib/libatomic.a``. The soft link can ensure the
+  latest ``libatomic_ops`` will be used without the need to copy it everytime when it is updated.
 
 Using mold for faster development
 ---------------------------------