[aquaria] Patch to set data directory prefix at compile time

James Le Cuirot chewi at aura-online.co.uk
Thu Jun 17 15:14:27 EDT 2010


Hi guys,

I've modified my data directory patch so that it can be committed
upstream. You now specify the prefix at compile time with a flag, for
example, -DBBGE_DATA_PREFIX="/usr/share/games". You can still override
this with the AQUARIA_DATA_PATH environment variable and it still falls
back to using the executable's directory on failure.

The layers of macros may seem odd but it seems you need that many to
stringify it properly. Please correct it if you know a better way.

James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: data-prefix.patch
Type: text/x-patch
Size: 1402 bytes
Desc: not available
URL: <http://icculus.org/pipermail/aquaria/attachments/20100617/cfad4368/attachment.bin>


More information about the aquaria mailing list