Merge pull request #3096 from godotengine/vnen-gdnative-c-gcc

Fix gcc compilation flags for GDNative with C example
This commit is contained in:
Rémi Verschelde
2020-01-22 19:34:04 +01:00
committed by GitHub

View File

@@ -361,8 +361,8 @@ On Linux:
.. code-block:: none
gcc -std=c11 -fPIC -c -I../../godot_headers simple.c -o simple.os
gcc -shared simple.os -o ../bin/libsimple.so
gcc -std=c11 -fPIC -c -I../../godot_headers simple.c -o simple.o
gcc -rdynamic -shared simple.o -o ../bin/libsimple.so
On macOS: