Changeset: 588bbc8ab6cb for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=588bbc8ab6cb
Modified Files:
        clients/mapiclient/Makefile.ag
Branch: default
Log Message:

Add extra libraries to get mnc to link on Windows.
$(SOCKET_LIBS) is needed for socket-related functions; libmapi is
needed for getopt_long and optind.  The latter two are actually in
common/options/libmoptions, but that is a NOINST library that we can't
link against for a .exe (we need to import from a DLL because of the
way getopt_long and optind are declared in the header file).


diffs (13 lines):

diff --git a/clients/mapiclient/Makefile.ag b/clients/mapiclient/Makefile.ag
--- a/clients/mapiclient/Makefile.ag
+++ b/clients/mapiclient/Makefile.ag
@@ -49,7 +49,8 @@
        NOINST
        SOURCES = mnc.c
        LIBS = ../../common/stream/libstream \
-               $(curl_LIBS) $(MALLOC_LIBS) $(PTHREAD_LIBS)
+               ../mapilib/libmapi \
+               $(curl_LIBS) $(MALLOC_LIBS) $(PTHREAD_LIBS) $(SOCKET_LIBS)
 }
 
 man_MANS = mclient.1 msqldump.1
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to