[Top][All Lists]

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

Re: Unable to set -fPIC for libncurses.a objects

From: Thomas Dickey
Subject: Re: Unable to set -fPIC for libncurses.a objects
Date: Fri, 29 Dec 2017 07:57:45 -0500
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, Dec 28, 2017 at 03:48:53PM -0500, Jeffrey Walton wrote:
> I've trying to build cURL (and cURL dependents) from source on
> Solaris. GetText is failing because I can't seem to get Ncurses to use
> PIC.
> CFLAGS and CXXFLAGS have -fPIC. configure was run with both
> --with-shared and --with-cxx-shared. The output of my Ncurses build is
> at https://pastebin.com/PMLxW1Zk. It is clearly missing the PIC flags.
> How do I force Ncurses to use PIC for the objects it builds?

You could add the option to $LDFLAGS, since that's used on the commands
which create the shared libraries.

(Perhaps I should add $CFLAGS to that command...)

Thomas E. Dickey <address@hidden>

Attachment: signature.asc
Description: Digital signature

reply via email to

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