From 75e41e4fd0cee6f09608c2e683dd570800517739 Mon Sep 17 00:00:00 2001 From: Sergey Stepanov Date: Sun, 14 May 2023 01:47:37 +0300 Subject: [PATCH] Fix static x264 static link on Windows --- pkg/worker/encoder/h264/libx264.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/worker/encoder/h264/libx264.go b/pkg/worker/encoder/h264/libx264.go index 9b1d9ba2..cafac4fd 100644 --- a/pkg/worker/encoder/h264/libx264.go +++ b/pkg/worker/encoder/h264/libx264.go @@ -2,7 +2,7 @@ package h264 /* -#cgo pkg-config: x264 +#cgo !st pkg-config: x264 #cgo st LDFLAGS: -l:libx264.a #include "stdint.h"