--- libs/triton/src/Makefile.am	2009-07-16 01:21:34.000000000 +0800
+++ libs/triton/src/Makefile.am	2025-01-03 10:55:52.000000000 +0800
@@ -6,7 +6,7 @@
 
 MAINTAINERCLEANFILES = Makefile.in
 
-LDFLAGS		         = -L/usr/local/lib
+LDFLAGS		         = -L@PREFIX@/lib
 
 INCLUDES	         = -I${top_srcdir} -I${top_srcdir}/libs/triton/include -I${top_srcdir}/include -I${prefix}/include -I$(includedir) @TRITON_INCS@
 
