summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-01-14 06:51:22 +0100
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-01-14 06:51:22 +0100
commitedcbfaf03e5667687f9b3dc12d91e3d755495bd0 (patch)
tree553e7693b15ec68ccdfdd10e7d9787a17d2b3ec2
parente26a1c5f7a6bceb032e8a5f2bb77c34ad569a1a4 (diff)
dirent.lib for perl too
-rw-r--r--plugins/perl/makefile-510.mak3
-rw-r--r--plugins/perl/makefile-512.mak3
2 files changed, 4 insertions, 2 deletions
diff --git a/plugins/perl/makefile-510.mak b/plugins/perl/makefile-510.mak
index 5a57a707..3aeb9639 100644
--- a/plugins/perl/makefile-510.mak
+++ b/plugins/perl/makefile-510.mak
@@ -1,5 +1,6 @@
 include "..\..\src\makeinc.mak"
 
+DIRENTLIB = ..\..\src\common\dirent.lib
 TARGET = $(PERL510OUTPUT)
 
 all: $(TARGET)
@@ -19,7 +20,7 @@ xchat.pm.h: Xchat.pm IRC.pm
 	perl.exe generate_header
 
 $(TARGET): perl.obj perl.def
-	$(LINK) /DLL /out:$(TARGET) perl.obj $(LDFLAGS) $(PERL510LIB).lib /libpath:$(PERL510PATH) /DELAYLOAD:$(PERL510LIB).dll DELAYIMP.LIB user32.lib shell32.lib advapi32.lib /def:perl.def
+	$(LINK) /DLL /out:$(TARGET) perl.obj $(LDFLAGS) $(PERL510LIB).lib /libpath:$(PERL510PATH) /DELAYLOAD:$(PERL510LIB).dll $(DIRENTLIB) DELAYIMP.LIB user32.lib shell32.lib advapi32.lib /def:perl.def
 
 clean:
 	@del $(TARGET)
diff --git a/plugins/perl/makefile-512.mak b/plugins/perl/makefile-512.mak
index 5a714f1d..4aeee497 100644
--- a/plugins/perl/makefile-512.mak
+++ b/plugins/perl/makefile-512.mak
@@ -1,5 +1,6 @@
 include "..\..\src\makeinc.mak"
 
+DIRENTLIB = ..\..\src\common\dirent.lib
 TARGET = $(PERL512OUTPUT)
 
 all: $(TARGET)
@@ -19,7 +20,7 @@ xchat.pm.h: Xchat.pm IRC.pm
 	perl.exe generate_header
 
 $(TARGET): perl.obj perl.def
-	$(LINK) /DLL /out:$(TARGET) perl.obj $(LDFLAGS) $(PERL512LIB).lib /libpath:$(PERL512PATH) /DELAYLOAD:$(PERL512LIB).dll DELAYIMP.LIB user32.lib shell32.lib advapi32.lib /def:perl.def
+	$(LINK) /DLL /out:$(TARGET) perl.obj $(LDFLAGS) $(PERL512LIB).lib /libpath:$(PERL512PATH) /DELAYLOAD:$(PERL512LIB).dll $(DIRENTLIB) DELAYIMP.LIB user32.lib shell32.lib advapi32.lib /def:perl.def
 
 clean:
 	@del $(TARGET)