VirtualBox

Changeset 47423 in vbox


Ignore:
Timestamp:
Jul 26, 2013 12:30:23 PM (11 years ago)
Author:
vboxsync
Message:

REM: dlltool writes temp files to current directory, change directory when using it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/Makefile.kmk

    r45561 r47423  
    204204  # addressing in the import libraries generated by microsoft link.exe. So, we
    205205  # have to regenerate these.
     206  # Note! The chdir to the output directory is because dlltool writes temporary files to the current directory.
    206207  $$(VBoxRemPrimary_0_OUTDIR)/VBoxVMMImp.a \
    207208  $$(VBoxRemPrimary_0_OUTDIR)/VBoxRTImp.a : $$(VBoxRemPrimary_0_OUTDIR)/$$(notdir $$(basename $$@)).def
    208         $(TOOL_MINGWW64_DLLTOOL) --output-lib "$@" --input-def "$<" --dllname "$(patsubst %Imp.a,%.dll,$(notdir $@))"
     209        $(REDIRECT) -C "$(dir $@)" -- $(TOOL_MINGWW64_DLLTOOL) \
     210                --output-lib "$@" \
     211                --input-def "$<" \
     212                --dllname "$(patsubst %Imp.a,%.dll,$(notdir $@))"
    209213
    210214  $$(VBoxRemPrimary_0_OUTDIR)/VBoxVMMImp.def \
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette