Message 337002 - Python tracker

Message337002

Author christian.heimes
Recipients Dakon, christian.heimes
Date 2019-03-02.11:46:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551527192.86.0.516026576065.issue36081@roundup.psfhosted.org>
In-reply-to
Content
There is a simpler solution. How about you use double quotes instead of single quotes and let the shell expand the variable before you pass it down into the process? 

$ export ORIGIN=/origin
$ echo LDFLAGS=-Wl,-rpath,'$ORIGIN/../lib'
LDFLAGS=-Wl,-rpath,$ORIGIN/../lib
$ echo LDFLAGS=-Wl,-rpath,"$ORIGIN/../lib"
LDFLAGS=-Wl,-rpath,/origin/../lib
History
Date User Action Args
2019-03-02 11:46:32christian.heimessetrecipients: + christian.heimes, Dakon
2019-03-02 11:46:32christian.heimessetmessageid: <1551527192.86.0.516026576065.issue36081@roundup.psfhosted.org>
2019-03-02 11:46:32christian.heimeslinkissue36081 messages
2019-03-02 11:46:32christian.heimescreate