[aquaria] Patch to set data directory prefix at compile time
achurch+aquaria at achurch.org
Fri Jun 18 08:21:25 EDT 2010
>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
>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.
Are you sure you're passing the command-line parameter correctly?
It needs to be quoted, i.e. '-DBBGE_DATA_PREFIX="/usr/share/games"' or
-DBBGE_DATA_PREFIX=\"/usr/share/games\" . That will let you use
BBGE_DATA_PREFIX as a string literal in the code without any extra
achurch at achurch.org
More information about the aquaria