Opened 14 years ago
Closed 13 years ago
#196 closed defect (fixed)
Qmake creates invalid "LIBS" entry in Makefile,xxxxx
Reported by: | rudi | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Qt 4.7 |
Component: | qmake | Version: | 4.6.3 |
Severity: | medium | Keywords: | |
Cc: |
Description
When a library in a *.pro file has special chars in it's name the library name in the makefile is not correctly escaped.
Example.pro:
LIBS += -lMagick++
Makefile:
LIBS = ... -l"-lMagick++"
Note that the attached diff has some whitespace changes as well. The functional part is the removal of the quotes before checking for "-l" or "-L".
Attachments (1)
Change History (3)
by , 14 years ago
Attachment: | gnumake.diff added |
---|
comment:1 by , 14 years ago
Version: | 4.6.2 → 4.6.3 |
---|
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Rudi, thanks for the report. In r872, I applied a more generic fix (no need to unquote library names and paths before parsing).
Note:
See TracTickets
for help on using tickets.
Change for gnumake.cpp