summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--plugins/perl/makefile-512.mak2
-rw-r--r--plugins/perl/makefile-514.mak2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/perl/makefile-512.mak b/plugins/perl/makefile-512.mak
index 3388e84f..15f78a23 100644
--- a/plugins/perl/makefile-512.mak
+++ b/plugins/perl/makefile-512.mak
@@ -20,7 +20,7 @@ xchat.pm.h: lib/Xchat.pm lib/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 $(DIRENTLIB) 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)
diff --git a/plugins/perl/makefile-514.mak b/plugins/perl/makefile-514.mak
index 657bc7dd..8c689979 100644
--- a/plugins/perl/makefile-514.mak
+++ b/plugins/perl/makefile-514.mak
@@ -20,7 +20,7 @@ xchat.pm.h: lib/Xchat.pm lib/IRC.pm
 	perl.exe generate_header
 
 $(TARGET): perl.obj perl.def
-	$(LINK) /DLL /out:$(TARGET) perl.obj $(LDFLAGS) $(PERL514LIB).lib /libpath:$(PERL514PATH) /delayload:$(PERL514LIB).dll $(DIRENTLIB) DELAYIMP.LIB user32.lib shell32.lib advapi32.lib /def:perl.def
+	$(LINK) /DLL /out:$(TARGET) perl.obj $(LDFLAGS) $(PERL514LIB).lib /libpath:$(PERL514PATH) /delayload:$(PERL514LIB).dll $(DIRENTLIB) delayimp.lib user32.lib shell32.lib advapi32.lib /def:perl.def
 
 clean:
 	@del $(TARGET)