Make changes to generate dylibs in mac again

master
Vraiment 7 years ago
parent e16029cbc2
commit 4cee6726f8

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

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

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

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

Loading…
Cancel
Save