summaryrefslogtreecommitdiff
path: root/Make.Rules.in
diff options
context:
space:
mode:
Diffstat (limited to 'Make.Rules.in')
-rw-r--r--Make.Rules.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/Make.Rules.in b/Make.Rules.in
index 894ea4ac..d705bd0e 100644
--- a/Make.Rules.in
+++ b/Make.Rules.in
@@ -52,6 +52,14 @@ HAVE_LIBFL=@HAVE_LIBFL@
HAVE_LIBNSL=@HAVE_LIBNSL@
HAVE_LIBPWDB=@HAVE_LIBPWDB@
+ifeq (@HAVE_LIBFLEX@,yes)
+LINK_LIBLEX=-lfl
+else
+ifeq (@HAVE_LIBLEX@,yes)
+LINK_LIBLEX=-ll
+endif
+endif
+
# documentation support
HAVE_SGML2TXT=@HAVE_SGML2TXT@
HAVE_SGML2HTML=@HAVE_SGML2HTML@