[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LDFLAGS leaked into pkg-config files
From: |
Thomas Dickey |
Subject: |
Re: LDFLAGS leaked into pkg-config files |
Date: |
Mon, 11 May 2015 17:36:33 -0400 (EDT) |
----- Original Message -----
| From: "Sven Joachim" <address@hidden>
| To: address@hidden
| Sent: Monday, May 11, 2015 4:34:51 PM
| Subject: LDFLAGS leaked into pkg-config files
|
| Hi,
|
| the 20150502 changes to misc/gen-pkgconfig.in have the side effect of
| leaking the build-time value of LDFLAGS into the "Libs:" field of the
| generated .pc files, noticeable in the Debian build where
| dpkg-buildflags sets LDFLAGS=-Wl,-z,relro.
|
| Surely that's not really desirable? I think the Libs field should
| not
| contain anything beyond -Lfoo -lbar statements.
|
Actually, I had in mind rpath when I did that. I could improve this however...
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net