summaryrefslogtreecommitdiff
path: root/apps/plugins/lua/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/Makefile')
-rw-r--r--apps/plugins/lua/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lua/Makefile b/apps/plugins/lua/Makefile
index 09535ac..8568d79 100644
--- a/apps/plugins/lua/Makefile
+++ b/apps/plugins/lua/Makefile
@@ -55,7 +55,7 @@ ifdef APP_TYPE
# This is the SDL simulator version
$(OUTPUT): $(OBJS)
- $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_FLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
+ $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) $(SHARED_LDFLAG) $(OBJS) -L$(BUILDDIR) -lplugin -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"
# $ fgrep 5 /usr/include/w32api/winerror.h | head -1