summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/slibtool.m44
-rw-r--r--m4/sltdl.m45
2 files changed, 9 insertions, 0 deletions
diff --git a/m4/slibtool.m4 b/m4/slibtool.m4
index a92a377..d318df3 100644
--- a/m4/slibtool.m4
+++ b/m4/slibtool.m4
@@ -549,6 +549,10 @@ AC_SUBST([LIBTOOL])
AC_SUBST([SLIBTOOL])
AC_SUBST([SLIBTOOL_FLAGS])
AC_SUBST([SLIBTOOL_SYSROOT])
+
+AC_SUBST([LIBLTDL])
+AC_SUBST([LTDLINCL])
+AC_SUBST([LTDLDEPS])
])
diff --git a/m4/sltdl.m4 b/m4/sltdl.m4
index 17daa74..fd7100f 100644
--- a/m4/sltdl.m4
+++ b/m4/sltdl.m4
@@ -40,12 +40,17 @@ slibtool_prefer_sltdl=${slibtool_prefer_sltdl:-yes}
case ${slibtool_prefer_sltdl} in
'yes')
slibtool_prefer_sltdl_switch='--prefer-sltdl'
+ LIBLTDL='-lsltdl'
;;
*)
slibtool_prefer_sltdl_switch=
+ LIBLTDL='-lltdl'
;;
esac
+LTDLDEPS=
+LTDLINCL=
+
export slibtool_prefer_sltdl
export slibtool_prefer_sltdl_switch