libtool
[Top][All Lists]
Advanced

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

Re: Validity of "fake" convenience library


From: Peter O'Gorman
Subject: Re: Validity of "fake" convenience library
Date: Mon, 03 Mar 2008 20:37:45 -0600
User-agent: Thunderbird 2.0.0.9 (X11/20071115)

Dan Nicholson wrote:

> I was just looking through the pic code evaluation in libtool.m4 and
> not getting real excited about recreating that.

In xserver's configure.ac you can, somewhere after AC_PROG_LIBTOOL, put
something like:
CC_PIC_FLAG="$lt_prog_compiler_pic"
CXX_PIC_FLAG="$lt_prog_compiler_pic_CXX"
AC_SUBST([CC_PIC_FLAG])
AC_SUBST([CXX_PIC_FLAG])

Then in the Makefile.am that descends into the mesa build, you can set
these vars as arguments to make (I guess you already set CC etc this
way?), and use them to build the pic objects.

I am pretty sure that you can similarly avoid the need for a fake
convenience .la, but can not work it out without actually attempting a
build :)

Peter
-- 
Peter O'Gorman
http://pogma.com




reply via email to

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