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
|
fi
|
||||||
|
|
||||||
rundir=".run"
|
rundir=".run"
|
||||||
if [ "$option_portable" == on ]; then
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
|
bindir="$rundir"
|
||||||
|
datadir="$rundir"
|
||||||
|
elif [ "$option_portable" == on ]; then
|
||||||
bindir="$rundir"
|
bindir="$rundir"
|
||||||
datadir="$rundir/data"
|
datadir="$rundir/data"
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
|
#include "lua.h"
|
||||||
|
|
||||||
void set_macos_bundle_resources(lua_State *L)
|
void set_macos_bundle_resources(lua_State *L)
|
||||||
{ @autoreleasepool
|
{ @autoreleasepool
|
||||||
|
|
Loading…
Reference in New Issue