diff --git a/Service/TrackSystemSvc/CMakeLists.txt b/Service/TrackSystemSvc/CMakeLists.txt
index 8e0f5c1ce082791f272f1a3c5ee254c2935d9723..349b3b6b5dc1889b6ab813a635421d6c2edc6cbf 100644
--- a/Service/TrackSystemSvc/CMakeLists.txt
+++ b/Service/TrackSystemSvc/CMakeLists.txt
@@ -29,5 +29,5 @@ gaudi_add_library(TrackSystemSvcLib ${TrackSystemSvcLib_srcs}
 
 gaudi_add_module(TrackSystemSvc ${TrackSystemSvc_srcs}
 				INCLUDE_DIRS GaudiKernel gear 
-				LINK_LIBRARIES TrackSystemSvcLib GaudiKernel $ENV{GEAR}/lib/libgear.so
+				LINK_LIBRARIES TrackSystemSvcLib GaudiKernel ${GEAR_LIBRARIES}
 )