Re: libjit now using libtool

Andrew Mitchell <ajmitch-mXXj517/[email protected]>
Newsgroups gmane.comp.gnu.dotgnu.developer
Message-ID <[email protected]>
On Tue, May 11, 2004 at 08:23:59PM +1000, Rhys Weatherley wrote:
> I've modified the libjit build system in CVS to use libtool for shared library 
> support.
...
Hi Rhys. libtool support is broken, and I've attached a patch for you :) When
linking to the library you don't need to include the .libs in the path as it 
gets added automatically.

-- 
Andrew Mitchell
Email: ajmitch-mXXj517/[email protected]
JID: ajmitch-/[email protected]
libtool.diff (text/plain, 1.2 KB)
Index: jitdynamic/Makefile.am
===================================================================
RCS file: /cvsroot/dotgnu-pnet/libjit/jitdynamic/Makefile.am,v
retrieving revision 1.2
diff -u -r1.2 Makefile.am
--- jitdynamic/Makefile.am	11 May 2004 10:23:14 -0000	1.2
+++ jitdynamic/Makefile.am	11 May 2004 11:47:47 -0000
@@ -9,5 +9,5 @@
 			-I. -I$(srcdir) -I$(top_srcdir)/jit -I$(top_builddir)/jit
 
 libjitdynamic_la_LDFLAGS = -version-info $(LIBJIT_VERSION) \
-						   -L$(top_builddir)/jit/.libs -ljit $(LIB_STDCPP)
+						   -L$(top_builddir)/jit/ -ljit $(LIB_STDCPP)
 libjitdynamic_la_DEPENDENCIES = $(top_builddir)/jit/libjit.la
Index: jitplus/Makefile.am
===================================================================
RCS file: /cvsroot/dotgnu-pnet/libjit/jitplus/Makefile.am,v
retrieving revision 1.2
diff -u -r1.2 Makefile.am
--- jitplus/Makefile.am	11 May 2004 10:23:14 -0000	1.2
+++ jitplus/Makefile.am	11 May 2004 11:47:47 -0000
@@ -9,5 +9,5 @@
 AM_CXXFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -I. -I$(srcdir)
 
 libjitplus_la_LDFLAGS = -version-info $(LIBJIT_VERSION) \
-						-L$(top_builddir)/jit/.libs -ljit $(LIB_STDCPP)
+						-L$(top_builddir)/jit/ -ljit $(LIB_STDCPP)
 libjitplus_la_DEPENDENCIES = $(top_builddir)/jit/libjit.la
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.