summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/lua/makefile.mak4
-rw-r--r--plugins/python/makefile.mak3
2 files changed, 5 insertions, 2 deletions
diff --git a/plugins/lua/makefile.mak b/plugins/lua/makefile.mak
index 81399ac6..fbc94072 100644
--- a/plugins/lua/makefile.mak
+++ b/plugins/lua/makefile.mak
@@ -1,7 +1,9 @@
 include "..\..\src\makeinc.mak"

 

+DIRENTLIB = ..\..\src\common\dirent.lib

+

 all: lua.obj lua.def

-	link $(LDFLAGS) $(LIBS) /dll /out:xclua.dll $(LUALIB).lib /def:lua.def lua.obj 

+	link $(LDFLAGS) $(LIBS) /dll /out:xclua.dll $(LUALIB).lib $(DIRENTLIB) /def:lua.def lua.obj 

 

 lua.def:

 	echo EXPORTS > lua.def

diff --git a/plugins/python/makefile.mak b/plugins/python/makefile.mak
index 7414f188..8cbba3f5 100644
--- a/plugins/python/makefile.mak
+++ b/plugins/python/makefile.mak
@@ -1,5 +1,6 @@
 include "..\..\src\makeinc.mak"
 
+DIRENTLIB = ..\..\src\common\dirent.lib
 TARGET = $(PYTHONOUTPUT)
 
 all: $(TARGET)
@@ -14,7 +15,7 @@ python.obj: python.c
 	$(CC) $(CFLAGS) /I.. /Dusleep=_sleep /DPATH_MAX=255 python.c $(GLIB) /I$(PYTHONPATH)\include /DPYTHON_DLL=\"$(PYTHONLIB).dll\"
 
 $(TARGET): python.obj python.def
-	$(LINK) /dll /out:$(TARGET) $(LDFLAGS) python.obj /libpath:$(PYTHONPATH)\libs $(PYTHONLIB).lib $(LIBS) /def:python.def
+	$(LINK) /dll /out:$(TARGET) $(LDFLAGS) python.obj /libpath:$(PYTHONPATH)\libs $(PYTHONLIB).lib $(DIRENTLIB) $(LIBS) /def:python.def
 
 clean:
 	del $(TARGET)