Make changes to generate dylibs in mac again

This commit is contained in:
Vraiment 2018-01-30 01:00:24 -08:00
parent e16029cbc2
commit 4cee6726f8
4 changed files with 10 additions and 0 deletions

View File

@ -40,12 +40,16 @@ case $host_os in
*openbsd*)
openbsd=yes
;;
*darwin*)
macos=yes
;;
esac
AM_CONDITIONAL(LINUX, [test "x$linux" = xyes])
AM_CONDITIONAL(FREEBSD, [test "x$freebsd" = xyes])
AM_CONDITIONAL(OPENBSD, [test "x$openbsd" = xyes])
AM_CONDITIONAL(NETBSD, [test "x$netbsd" = xyes])
AM_CONDITIONAL(MACOS, [test "x$macos" = xyes])
AC_ARG_WITH([socketdir],
[AS_HELP_STRING([--with-socketdir=DIR],

View File

@ -19,4 +19,6 @@ libmc_la_SOURCES = \
libmc_la_LIBADD = \
$(top_builddir)/common/libcommon.la
if !MACOS
libmc_la_LDFLAGS = -avoid-version -module
endif

View File

@ -19,4 +19,6 @@ libvnc_la_SOURCES = \
libvnc_la_LIBADD = \
$(top_builddir)/common/libcommon.la
if !MACOS
libvnc_la_LDFLAGS = -avoid-version -module
endif

View File

@ -19,4 +19,6 @@ libxup_la_SOURCES = \
libxup_la_LIBADD = \
$(top_builddir)/common/libcommon.la
if !MACOS
libxup_la_LDFLAGS = -avoid-version -module
endif