[PyQt] How to insert literal $ in QMAKE_LINK_SHLIB_CMD sip spec
files
Phil Thompson
phil at riverbankcomputing.com
Wed Dec 23 10:03:32 GMT 2009
On Tue, 22 Dec 2009 20:54:22 -0600, Albert Chin
<pykde at mlists.thewrittenword.com> wrote:
> How do I insert a literal $ in QMAKE_LINK_SHLIB_CMD for sip spec files?
> What I really want is the following for specs/aix-g++:
> QMAKE_LINK_SHLIB_CMD = rm -f objects.o; \
> ld -r -o objects.o -bnogc $(OFILES); \
> rm -f lib.exp; /usr/ccs/bin/nm -BCpg objects.o | \
> awk '{ if ((($$2 == "T") || ($$2 == "D") || ($$2 == "B")) && \
> (substr($$3,1,1) != ".")) { print $$3 } }' | sort -u >lib.exp;
\
> g++ -shared -Wl,-bE:lib.exp -o $(TARGET) $(LFLAGS) \
> objects.o $(LIBS); rm objects.o
Try $$LITERAL_DOLLAR
Phil
More information about the PyQt
mailing list