Chris,
I'm no expert but have you tried using this:
noinst_LTLIBRARIES = barry_sync.la
I'm not 100% certain this is valid for libraries but I have used the
noinst_ prefix with programs and header files before.
On Fri, 10 Apr 2009 03:29:44 -0400
Chris Frey <[email protected]> wrote:
> Hi folks,
>
> I'm hoping there is a libtool expert out there who can help me.
>
> I'm trying to avoid installing .la files when building opensync plugins,
> but automake does not appear to make that easy. The opensync plugins
> are shared libraries, basically, so I build them using:
>
> barry_sync_LTLIBRARIES = barry_sync.la
>
> barry_sync_la_SOURCES = \
> barry_sync.cc barry_sync.h \
> environment.cc environment.h \
> vbase.cc vbase.h \
> vevent.cc vevent.h \
> vcard.cc vcard.h \
> vformat.c vformat.h \
> trace.h
>
> barry_sync_la_LDFLAGS = -avoid-version -export-dynamic -module
> barry_sync_la_LIBADD = @PACKAGE_LIBS@ @LIBS@ @BARRY_LIBS@
>
> But this ends up leaving a barry_sync.la file in the target install
> directory. This .la file contains build path information, and some
> binary package systems complain about that when I build RPMs.
>
> I could just manually delete the .la file after a 'make install', but I'd
> rather not install it in the first place.
>
> Anyone know how to avoid this?
>
> Thanks!
> - Chris
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Barry-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/barry-devel
--
Josh Kropf <[email protected]>
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Barry-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/barry-devel