Re: Plus characters ("++") in library name

Peter Johansson <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <[email protected]>
Hi,


On 1/2/2017 8:46 AM, [email protected] wrote:
> Makefile.am in the root directory looks like this:
>
>   ACLOCAL_AMFLAGS = -I m4
>   SUBDIRS = src
>
> (not much can go wrong there). Here is the Makefile.am in the src 
> subdirectory:
>
>   lib_LTLIBRARIES = libargpp.la
>   libargpp_la_SOURCES = argpp.cpp argppbaseimpl.cpp argppbaseimpl.hpp
>   libargpp_la_CXXFLAGS = $(CXXFLAGS) -I$(top_srcdir)/include
>   libargpp_la_LDFLAGS = -version-info 1:0:0
>   libargpp_includedir = $(includedir)
>   include_HEADERS = $(top_srcdir)/include/argpp.hpp
>

Automake doesn't like special characters like '+', so you need to change 
them to underscore. We had something like this is our 'Makefile.am' 
before we changed name on the project.

lib_LTLIBRARIES = libc++_tools.la

libc___tools_la_SOURCES =

hth,
Peter

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool
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.