diff options
-rw-r--r-- | apps/plugins/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile index 2676fa7e8c..50b5ab9c67 100644 --- a/apps/plugins/Makefile +++ b/apps/plugins/Makefile @@ -70,7 +70,8 @@ DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin $(OBJDIR)/%.rock : $(OBJDIR)/%.o $(APPSDIR)/plugin.h @echo "DLL $@" @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $< - @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $< $(OBJDIR)/libplugin.a -o $@ + @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $< $(OBJDIR)/libplugin.a \ + $(patsubst -l%,$(OBJDIR)/lib%.a,$(CODECLIBS)) -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 |