This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

shared vs static libraries


Hi,

I have a problem where I have a code which compiles fine when I use
shared libraries, but it doesn't work when I use --disable-shared as an
argument to configure. The Makefile.am looks like

CXX = g++
bin_programs = SinglePipeline

SinglePipeline_SOURCES = SinglePipeline.cc
SinglePipeline_LDADD = $(top_builddir)/base/src/libgeoppbase.la\
		       $(top_builddir)/monitors/src/libgeoppmon.la

INCLUDES = -I$(top_builddir)/base/include\
    	   -I$(scrdir)/../include\
	   -I$(scrdir)/../../monitors/include

How do you configure it so that the code looks for a .a rather then a
.la file when you compile with --disable-shared?

Thanks for any help you can give.

David Churches.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]