automake
[Top][All Lists]
Advanced

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

Changing $libdir


From: NightStrike
Subject: Changing $libdir
Date: Tue, 16 Oct 2007 03:31:05 -0400

If I do:

lib_LIBRARIES = libfoo.a
libfoo_a_SOURCES = foo.c

in the Makefile.am, libfoo.a will be installed into $(prefix)/lib.  If
I am using AC_CANONICAL_SYSTEM in configure.ac, I want to be able to
set build, host, and target for building a cross compiler.  I would
then want the above library to be installed into
$(prefix)/$(host)/lib.  How do I accomplish that?




reply via email to

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