Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build.rs: Fix windows cross compilation #1323

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Oct 22, 2024

  1. build.rs: Make -Fdwarf/-fwin64 flag based on target os, not hos…

    …t os.
    
    Cross-compiles (even of just `rav1d` the library) failed without this.
    kkysen committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    f9e0dae View commit details
    Browse the repository at this point in the history
  2. tools/build.rs: Move rav1d-lib specific stuff to its own `build.r…

    …s` so `rav1d` can cross compile to/from windows.
    kkysen committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    416843b View commit details
    Browse the repository at this point in the history
  3. tools/build.rs: Only run when compiling for *-windows-msvc, and e…

    …rror if trying to cross compile to `*-windows-msvc`.
    kkysen committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    a61cac8 View commit details
    Browse the repository at this point in the history