7e2aab
diff --git a/Makefile.am b/Makefile.am
7e2aab
index 785da44..3c05b67 100644
7e2aab
--- a/Makefile.am
7e2aab
+++ b/Makefile.am
7e2aab
@@ -42,7 +42,7 @@ AM_YFLAGS	= -d -p v29nfy_
7e2aab
 AM_LFLAGS	= -Pv29nfy_ -olex.yy.c
7e2aab
 
7e2aab
 libservicelog_la_LDFLAGS = -module -version-info \
7e2aab
-	@GENERIC_API_VERSION@ -release @GENERIC_RELEASE@
7e2aab
+	@GENERIC_API_VERSION@ -release @GENERIC_RELEASE@ $(AM_LDFLAGS)
7e2aab
 
7e2aab
 check_PROGRAMS = src/tests/test_libservicelog
7e2aab
 src_tests_test_libservicelog_SOURCES = src/tests/test_libservicelog.c