Skip to content

Commit

Permalink
Change to MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
steffenfritz committed Oct 29, 2024
1 parent 57e75cd commit 6922bb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build_windows_msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,13 @@ jobs:
run: |
# Set PKG_CONFIG_PATH explizit für die richtige Position der .pc Datei
$env:PKG_CONFIG_PATH = "$env:USERPROFILE\\yara_install\\lib\\pkgconfig"
# Setze zusätzliche Flags für das Verzeichnis der header und lib Dateien
# Setze zusätzliche Flags für das Verzeichnis der Header- und Lib-Dateien
$env:CGO_CFLAGS = "-I$env:USERPROFILE\\yara_install\\include"
$env:CGO_LDFLAGS = "-L$env:USERPROFILE\\yara_install\\lib"
# Debug: Ausgabe für die Konfiguration
Write-Host "PKG_CONFIG_PATH set to $env:PKG_CONFIG_PATH"
Write-Host "CGO_CFLAGS set to $env:CGO_CFLAGS"
Write-Host "CGO_LDFLAGS set to $env:CGO_LDFLAGS"
pkg-config --cflags --libs yara_x_capi
# Baue das Go-Binary mit der Rust-Bibliothek
Expand Down

0 comments on commit 6922bb4

Please sign in to comment.