diff --git a/buildout/mysql-tritonn-5.0/buildout.cfg b/buildout/mysql-tritonn-5.0/buildout.cfg
index 97ff3c659efeea0bf36c9d5d536e66a191c08ee8..39d54c797fde5f4dc06f292efe0b7e5eaa4d61fd 100644
--- a/buildout/mysql-tritonn-5.0/buildout.cfg
+++ b/buildout/mysql-tritonn-5.0/buildout.cfg
@@ -27,6 +27,9 @@ patch-options = -p1
 patches = ${tritonn-patch:location}/${tritonn-patch:patch}
 environment =
     PATH =${senna:location}/bin:%(PATH)s
+    CFLAGS =-I${senna:location}/include
+    CXXFLAGS =-I${senna:location}/include
+    LDLAGS =-L${senna:location}/lib
 
 [requirements]
 binary = flex bison patch gcc g++