Commit 9b93f295 authored by dscho's avatar dscho

fix compilation with cygwin

parent 6dd26394
...@@ -4,7 +4,7 @@ OBJS=nacro.o ...@@ -4,7 +4,7 @@ OBJS=nacro.o
ISRCS=nacro_wrap.c ISRCS=nacro_wrap.c
IOBJS=nacro_wrap.o IOBJS=nacro_wrap.o
TARGET=nacro TARGET=nacro
LIBS= @LIBVNCSERVERLIBS@ -lvncclient LIBS= -lvncclient @LIBVNCSERVERLIBS@
nacro_CFLAGS= @LIBVNCSERVERCFLAGS@ nacro_CFLAGS= @LIBVNCSERVERCFLAGS@
......
...@@ -62,7 +62,7 @@ then ...@@ -62,7 +62,7 @@ then
*-*-aix*) LDSHARED="\$(srcdir)/ld_so_aix \$(CC)";; *-*-aix*) LDSHARED="\$(srcdir)/ld_so_aix \$(CC)";;
*-*-cygwin* | *-*-mingw*) *-*-cygwin* | *-*-mingw*)
if test "$GCC" = yes; then 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 else
if test "cl" = $CC ; then if test "cl" = $CC ; then
# Microsoft Visual C++ (MSVC) # Microsoft Visual C++ (MSVC)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment