automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

zonking .la and .a files


From: Thien-Thi Nguyen
Subject: zonking .la and .a files
Date: Sat, 13 Sep 2003 07:29:02 -0400

greetings libtool and automake folks,

is there any way to tell libtool/automake NOT to install .la and .a
files?  i would like to install only the shared object libraries as
"plugin modules" (the main program knows of the plugin modules location
and can dlopen them directly w/o search; there is no requirement for
linking against the module in the future).

here's a kludge i came up w/ that works but seems inelegant:

  my_LTLIBRARIES = libfoo.la
  libfoo_la_SOURCES = foo.c
  libfoo_la_LDFLAGS = -version-info 0:0 -export-dynamic -module
  
  install-exec-hook:
        rm -f $(DESTDIR)$(mydir)/libfoo.la
        rm -f $(DESTDIR)$(mydir)/libfoo.a

thanks for any insight into this problem.  fwiw, i'm using libtool 1.4.3
and automake 1.7.6.

thi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]