|
From: | Peter Johansson |
Subject: | Re: Plus characters ("++") in library name |
Date: | Mon, 2 Jan 2017 16:07:23 +1000 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 |
Hi, On 1/2/2017 8:46 AM, address@hidden 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
[Prev in Thread] | Current Thread | [Next in Thread] |