Skip to content

Commit

Permalink
Added -fPIC to server lib compilation command, because compilation fa…
Browse files Browse the repository at this point in the history
…ils on Ubuntu 14.04
  • Loading branch information
Tim Richter committed Jun 10, 2015
1 parent 936a0b8 commit 41d8470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41d8470

Please sign in to comment.