Revision: 463
          http://vde.svn.sourceforge.net/vde/?rev=463&view=rev
Author:   rd235
Date:     2011-01-25 17:29:57 +0000 (Tue, 25 Jan 2011)

Log Message:
-----------
solved some undefined when LDFLAGS includes "--no-undefined"

Modified Paths:
--------------
    trunk/vde-2/configure.ac
    trunk/vde-2/src/lib/Makefile.am
    trunk/vde-2/src/lib/python/Makefile.am

Modified: trunk/vde-2/configure.ac
===================================================================
--- trunk/vde-2/configure.ac    2011-01-24 09:39:24 UTC (rev 462)
+++ trunk/vde-2/configure.ac    2011-01-25 17:29:57 UTC (rev 463)
@@ -28,12 +28,14 @@
 
 AM_PATH_PYTHON([2.5], [add_python_support=yes], [add_python_support=warn])
 PYTHONINCLUDEDIR=`python2.5 -c "from distutils.sysconfig import 
get_python_inc; print get_python_inc();"`
+PYTHON_LIBS=`python2.5-config --libs`
 AC_CHECK_HEADERS([$PYTHONINCLUDEDIR/Python.h], [add_python_support=yes],
                [add_python_support=no; warn_python=no])
 AC_CHECK_LIB([pcap], [pcap_open_dead],
                [add_pcap=yes],
                [add_pcap=no ; warn_pcap=yes])
 AC_SUBST(PYTHONINCLUDEDIR)
+AC_SUBST(PYTHON_LIBS)
 
 # Checks for header files.
 AC_HEADER_STDC

Modified: trunk/vde-2/src/lib/Makefile.am
===================================================================
--- trunk/vde-2/src/lib/Makefile.am     2011-01-24 09:39:24 UTC (rev 462)
+++ trunk/vde-2/src/lib/Makefile.am     2011-01-25 17:29:57 UTC (rev 463)
@@ -16,7 +16,7 @@
 
 # read before touching 
http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
 
-libvdesnmp_la_LIBADD = $(LIBADD)
+libvdesnmp_la_LIBADD = $(LIBADD) libvdemgmt.la
 libvdesnmp_la_LDFLAGS = $(AM_LDFLAGS) -version-number 0:0:1 -export-dynamic
 
 libvdemgmt_la_LIBADD = $(LIBADD)
@@ -29,7 +29,7 @@
 libvdehist_la_LDFLAGS = $(AM_LDFLAGS) -version-number 0:0:1 -export-dynamic
 
 if ENABLE_PYTHON
-SUBDIRS += python
+SUBDIRS += . python
 endif
 
 pkgconfigdir = $(libdir)/pkgconfig

Modified: trunk/vde-2/src/lib/python/Makefile.am
===================================================================
--- trunk/vde-2/src/lib/python/Makefile.am      2011-01-24 09:39:24 UTC (rev 
462)
+++ trunk/vde-2/src/lib/python/Makefile.am      2011-01-25 17:29:57 UTC (rev 
463)
@@ -8,5 +8,5 @@
 dist_python_SCRIPTS = VdePlug.py 
 
 vdeplug_python_la_CFLAGS = $(PYTHON_CFLAGS) -I$(PYTHONINCLUDEDIR)
-vdeplug_python_la_LIBADD = $(PYTHON_LIBS)
+vdeplug_python_la_LIBADD = $(PYTHON_LIBS) ../libvdeplug.la 
 vdeplug_python_la_LDFLAGS = -module -avoid-version


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
vde-users mailing list
vde-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vde-users

Reply via email to