Patch for those who want to compile RE with system libraries

Patch for those who want to compile RE with system libraries

Postby Gallaecio » 31 Jul 2011, 22:49

Hi there!

Packaging the game for Chakra, I noticed Red Eclipse uses Enet library, but it compiles it instead of using system’s. Since in our distribution we have the right version of Enet (1.3.3 currently), I though about trying to make the game use it instead of compiling a new one just for the game. And I succeed :)

You can find the patch here. You can apply it to src/Makefile. It was tested with Red Eclipse 1.1 and it worked. In fact, just to be sure I compiled it after deleting src/enet, src/include and src/lib (or similar names).

PS: thanks to HTN-Kitsune for helping me a bit through the IRC channel.
Gallaecio
 
Posts: 63
Joined: 14 Jan 2010, 20:23

Who is online

Users browsing this forum: No registered users and 1 guest