Fix missing header for macos
This commit is contained in:
parent
2f8c70ac51
commit
94c8f34a81
|
@ -47,7 +47,10 @@ if [[ "$OSTYPE" == "msys"* || "$OSTYPE" == "mingw"* ]]; then
|
|||
fi
|
||||
|
||||
rundir=".run"
|
||||
if [ "$option_portable" == on ]; then
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
bindir="$rundir"
|
||||
datadir="$rundir"
|
||||
elif [ "$option_portable" == on ]; then
|
||||
bindir="$rundir"
|
||||
datadir="$rundir/data"
|
||||
else
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
#include "lua.h"
|
||||
|
||||
void set_macos_bundle_resources(lua_State *L)
|
||||
{ @autoreleasepool
|
||||
|
|
Loading…
Reference in New Issue