From 9b93f295e90b4d8560068bda8659617f4754a88f Mon Sep 17 00:00:00 2001 From: dscho Date: Tue, 12 Sep 2006 15:53:11 +0000 Subject: fix compilation with cygwin --- VisualNaCro/Makefile.am | 2 +- VisualNaCro/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VisualNaCro/Makefile.am b/VisualNaCro/Makefile.am index afbe064..13891c5 100644 --- a/VisualNaCro/Makefile.am +++ b/VisualNaCro/Makefile.am @@ -4,7 +4,7 @@ OBJS=nacro.o ISRCS=nacro_wrap.c IOBJS=nacro_wrap.o TARGET=nacro -LIBS= @LIBVNCSERVERLIBS@ -lvncclient +LIBS= -lvncclient @LIBVNCSERVERLIBS@ nacro_CFLAGS= @LIBVNCSERVERCFLAGS@ diff --git a/VisualNaCro/configure.ac b/VisualNaCro/configure.ac index 0fc6e8c..582a291 100644 --- a/VisualNaCro/configure.ac +++ b/VisualNaCro/configure.ac @@ -62,7 +62,7 @@ then *-*-aix*) LDSHARED="\$(srcdir)/ld_so_aix \$(CC)";; *-*-cygwin* | *-*-mingw*) if test "$GCC" = yes; then - LDSHARED="$CC -shared" + LDSHARED="dllwrap --driver-name gcc --dlltool dlltool --export-all-symbols --as as --dllname \$(LIBPREFIX)\$(TARGET)\$(SO)" else if test "cl" = $CC ; then # Microsoft Visual C++ (MSVC) -- cgit v1.2.1