diff --git a/modules/gui/win32/Modules.am b/modules/gui/win32/Modules.am
index 5a0350351595ac33b88d2d24ff9d2d090ea038a6..248a9756c05e0aedc745d622905d44f08e04c277 100644
--- a/modules/gui/win32/Modules.am
+++ b/modules/gui/win32/Modules.am
@@ -8,7 +8,7 @@ EXTRA_DIST += $(BORLAND_win32)
 # We have private rules! We do whatever we want! Don't mess with us!
 SOURCES_win32 = PRIVATE
 
-modules/gui/win32/libwin32_plugin$(LIBEXT): $(BORLAND_win32)
+modules/gui/win32/libwin32_plugin.dll: $(BORLAND_win32)
 	cd modules/gui/win32/ && \
 	rm -f win32.mak && \
 	$(BCBUILDER)/Bin/bpr2mak win32.bpr -s | sed -e 's@^LIBPATH = .*@&;$$(RELEASELIBPATH)@' -e 's@^USERDEFINES = .*@& -DMODULE_NAME=win32@' > win32.mak && \
diff --git a/modules/gui/win32/win32.bpr b/modules/gui/win32/win32.bpr
index a5294708efdaa5d157925d157949ee179f542f35..40a86921ecc2a36ca0d5aa17411047e964958f04 100644
--- a/modules/gui/win32/win32.bpr
+++ b/modules/gui/win32/win32.bpr
@@ -3,7 +3,7 @@
 <PROJECT>
   <MACROS>
     <VERSION value="BCB.05.03"/>
-    <PROJECT value="libwin32_plugin.so"/>
+    <PROJECT value="libwin32_plugin.dll"/>
     <OBJFILES value="win32.obj mainframe.obj network.obj playlist.obj preferences.obj about.obj 
       disc.obj control.obj menu.obj messages.obj misc.obj"/>
     <RESFILES value=""/>