forked from len0rd/rockbox
Win32 simulator: fixed building of codec test plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6044 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
94b64cc09e
commit
4f2a7df6d6
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue