search for: shared_libs_path

Displaying 2 results from an estimated 2 matches for "shared_libs_path".

2015 Feb 12
2
[PATCH] macosx: Darwin-specific autoconf macros
...ndex d68190a..295de11 100644 --- a/configure.ac +++ b/configure.ac @@ -582,6 +582,19 @@ fi AC_MSG_RESULT([$DISTRO]) AC_SUBST([DISTRO]) +AC_MSG_CHECKING([whether we're building on Mac OS X]) +if test "x$(uname)" = "xDarwin"; then + AC_MSG_RESULT([yes]) + LCRYPT_FLAG= + SHARED_LIBS_PATH="DYLD_LIBRARY_PATH" +else + AC_MSG_RESULT([no]) + LCRYPT_FLAG="-lcrypt" + SHARED_LIBS_PATH="LD_LIBRARY_PATH" +fi +AC_SUBST([LCRYPT_FLAG]) +AC_SUBST([SHARED_LIBS_PATH]) + dnl Add extra packages to the appliance. AC_ARG_WITH([extra-packages], [AS_HELP_STRING([-...
2015 Feb 12
0
Re: [PATCH] macosx: Darwin-specific autoconf macros
...t; +++ b/configure.ac > @@ -582,6 +582,19 @@ fi > AC_MSG_RESULT([$DISTRO]) > AC_SUBST([DISTRO]) > > +AC_MSG_CHECKING([whether we're building on Mac OS X]) > +if test "x$(uname)" = "xDarwin"; then > + AC_MSG_RESULT([yes]) > + LCRYPT_FLAG= > + SHARED_LIBS_PATH="DYLD_LIBRARY_PATH" > +else > + AC_MSG_RESULT([no]) > + LCRYPT_FLAG="-lcrypt" > + SHARED_LIBS_PATH="LD_LIBRARY_PATH" > +fi > +AC_SUBST([LCRYPT_FLAG]) > +AC_SUBST([SHARED_LIBS_PATH]) We link to libcrypt because it provides crypt(), at least on G...