Written by: Peter Foley <pefoley2@pefoley.com>
Gentoo Bug: #552792

--- test/module.defs
+++ test/module.defs
@@ -25,6 +25,7 @@
 
 ifeq (1,$(FEATURE.x265))
     TEST.GCC.D += USE_X265
+    TEST.GCC.l += x265
 endif
 
 TEST.GCC.l += $(foreach m,$(MODULES.NAMES),$($m.OSL.libs))
