help-libidn
[Top][All Lists]
Advanced

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

Re: Compilation of libidn2 0.10 on Solaris


From: Dagobert Michelsen
Subject: Re: Compilation of libidn2 0.10 on Solaris
Date: Thu, 3 Nov 2016 15:50:58 +0100

Hi Simon,

Am 03.11.2016 um 11:29 schrieb Simon Josefsson <address@hidden>:
> Den Wed, 2 Nov 2016 10:52:48 +0100
> skrev Re: Compilation of libidn2 0.10 on Solaris:
>> Additionally I noticed that the runpath of the build environment
>> leaks into the „lookup“ and „register“ binaries:
> 
> I don't know how to fix this, ideas or patches are welcome.

The relevant option here is -no-install which produces an executable
that is not made for installation as stated in the docs:
  https://www.gnu.org/software/libtool/manual/html_node/Link-mode.html

> address@hidden 
> [unstable10s]:/home/dam/mgar/pkg/libidn2/trunk/work/solaris10-sparc/build-isa-sparcv8plus/libidn2-0.10/examples
>  > gmake V=1
> /opt/csw/bin/gcc-5.2 -DHAVE_CONFIG_H -I. -I..  -I./.. -I./.. 
> -I/opt/csw/include  -O2 -pipe -fno-omit-frame-pointer -mcpu=v9 
> -Wa,-xarch=v8plus -MT lookup.o -MD -MP -MF .deps/lookup.Tpo -c -o lookup.o 
> lookup.c
> mv -f .deps/lookup.Tpo .deps/lookup.Po
> /bin/bash ../libtool  --tag=CC   --mode=link /opt/csw/bin/gcc-5.2  -O2 -pipe 
> -fno-omit-frame-pointer -mcpu=v9 -Wa,-xarch=v8plus -no-install -mcpu=v9 
> -Wa,-xarch=v8plus -L/opt/csw/lib -o lookup lookup.o ../libidn2.la
> libtool: link: /opt/csw/bin/gcc-5.2 -O2 -pipe -fno-omit-frame-pointer 
> -mcpu=v9 -Wa,-xarch=v8plus -mcpu=v9 -Wa,-xarch=v8plus -o lookup lookup.o  
> -L/opt/csw/lib ../.libs/libidn2.so -liconv 
> -R/home/dam/mgar/pkg/libidn2/trunk/work/solaris10-sparc/build-isa-sparcv8plus/libidn2-0.10/.libs
>  -R/opt/csw/lib

So either do not install the examples or remove this line from
examles/Makefile.am:

AM_LDFLAGS = -no-install


Best regards

  — Dago


--
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

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