--- parser3/src/targets/cgi/Makefile.am 2012/06/10 10:34:09 1.56 +++ parser3/src/targets/cgi/Makefile.am 2012/06/11 23:11:36 1.60 @@ -1,10 +1,7 @@ -# Parser switches linker to gcc to avoid -lstdc++ to be dynamically linked by g++ -CXXLD=$(CC) - -# Parser has circular library dependencies, this libmain.a linked twice and --preserve-dup-deps libtool option used +# Parser has circular library dependencies, thus libmain.a is linked twice and --preserve-dup-deps libtool option is used PA_LIBS = ../../main/libmain.a ../../classes/libclasses.a ../../types/libtypes.a ../../main/libmain.a \ ../../lib/gd/libgd.a ../../lib/cord/libcord.a ../../lib/md5/libmd5.a ../../lib/sdbm/libsdbm.a \ - ../../lib/smtp/libsmtp.a ../../lib/json/libjson.a ../../lib/memcached/libmemcached.a $(LIBLTDL) + ../../lib/smtp/libsmtp.a ../../lib/json/libjson.a ../../lib/memcached/libmemcached.a INCLUDES = -I../../classes -I../../types -I../../sql -I../../lib/gc/include -I../../lib/cord/include \ -I../../lib/md5 -I../../lib/json -I$(INCLTDL) @PCRE_INCLUDES@ @XML_INCLUDES@ @@ -13,6 +10,6 @@ bin_PROGRAMS = parser3 noinst_HEADERS = getopt.h parser3_DEPENDENCIES=Makefile $(PA_LIBS) parser3_SOURCES = pa_threads.C parser3.C getopt.c -parser3_LDADD= $(PA_LIBS) $(LIBADD_DL) @GC_LIBS@ @PCRE_LIBS@ @XML_LIBS@ @MIME_LIBS@ @CPP_LIBS@ +parser3_LDADD= $(PA_LIBS) $(LIBLTDL) @GC_LIBS@ @PCRE_LIBS@ @XML_LIBS@ @MIME_LIBS@ parser3_LIBTOOLFLAGS=--preserve-dup-deps EXTRA_DIST = parser3.vcproj