Added -fPIC to server lib compilation command, because compilation fails on Ubuntu 14.04

master
Tim Richter 2015-06-10 13:28:57 +02:00
parent 936a0b82cb
commit 41d8470c50
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ You can run your own server or connect to mine. The server is written in Python
but requires a compiled DLL so it can perform the terrain generation just like
the client.
gcc -std=c99 -O3 -shared -o world -I src -I deps/noise deps/noise/noise.c src/world.c
gcc -std=c99 -O3 -fPIC -shared -o world -I src -I deps/noise deps/noise/noise.c src/world.c
python server.py [HOST [PORT]]
### Controls