From 143fb4f423656a336416846ae09edb9b9ff5db8b Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Fri, 3 Jan 2014 20:26:41 +0000 Subject: [PATCH] Fixed macos build --- build/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Makefile b/build/Makefile index 38310711..86e2f7d4 100644 --- a/build/Makefile +++ b/build/Makefile @@ -80,13 +80,13 @@ windows_unit_test.exe: ../mongoose.c Makefile # For codesign to work in non-interactive mode, unlock login keychain: # security unlock ~/Library/Keychains/login.keychain # See e.g. http://lists.apple.com/archives/apple-cdsa/2008/Jan/msg00027.html -macos: $(LUA_SOURCES) +macos: $(LUA_SQLITE_SOURCES) DIR=dmg/Mongoose.app rm -rf dmg mkdir -p dmg/Mongoose.app/Contents/{MacOS,Resources} install -m 644 *.icns *.png dmg/Mongoose.app/Contents/Resources/ install -m 644 Info.plist dmg/Mongoose.app/Contents/ - $(CC) $(LUA_SOURCES) \ + $(CC) $(LUA_SQLITE_SOURCES) \ -DUSE_COCOA $(CFLAGS) $(LUA_SQLITE_FLAGS) -mmacosx-version-min=10.4 \ -framework Cocoa -ObjC -arch i386 -arch x86_64 \ -o dmg/Mongoose.app/Contents/MacOS/Mongoose