The example duplicated what Demo already covers, and the run mode needs the runtime include path and Lua link flags at execution time, so they are baked in at configure time.
The example duplicated what Demo already covers, and the run mode needs the runtime include path and Lua link flags at execution time, so they are baked in at configure time.