This may be unnecessary to fix the missing x265_api_query definition. diff -Nuar a/libhb/module.defs b/libhb/module.defs --- a/libhb/module.defs 2024-02-10 22:22:33.000000000 +0000 +++ b/libhb/module.defs 2024-02-13 14:07:14.952042657 +0000 @@ -147,6 +147,7 @@ ifeq (1,$(FEATURE.x265)) LIBHB.dll.libs += $(CONTRIB.build/)lib/libx265.a +LIBHB.GCC.l += x265 endif ifeq (1,$(FEATURE.libdovi))