[PyQt] How to insert literal $ in QMAKE_LINK_SHLIB_CMD sip spec
files
Albert Chin
pykde at mlists.thewrittenword.com
Wed Dec 23 02:54:22 GMT 2009
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
--
albert chin (china at thewrittenword.com)
More information about the PyQt
mailing list