From ab516db4fb8c5adab4299d5b038ddff8a7f211d5 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Mon, 28 Mar 2011 01:44:57 +0000 Subject: Changed the lib and include path for MinGW to match the default lua install. Might need to specify -L/usr/local/lib as well. svn path=/trunk/externals/loaders/pdlua/; revision=15049 --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 274f2eb..ed7ae23 100644 --- a/src/Makefile +++ b/src/Makefile @@ -214,8 +214,8 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME))) CFLAGS += -mms-bitfields LDFLAGS += -s -shared -Wl,--enable-auto-import LIBS += -L"$(PD_PATH)/src" -L"$(PD_PATH)/bin" -L"$(PD_PATH)/obj" -lpd -lwsock32 -lkernel32 -luser32 -lgdi32 - LUACFLAGS += -I/usr/include/lua # lua is named differently on every platform, check this and change it to fit - LIBS += -llua51.dll # lua is named differently on every platform, check this and change it to fit + LUACFLAGS += -I/usr/local/include # lua is named differently on every platform, check this and change it to fit + LIBS += -llua # lua is named differently on every platform, check this and change it to fit STRIP = strip --strip-unneeded -R .note -R .comment DISTBINDIR=$(DISTDIR)-$(OS) endif -- cgit v1.2.1