Skip to content

Commit

Permalink
qmake|Fixed: Quote DENG_BASE_DIR and DENG_LIB_DIR properly
Browse files Browse the repository at this point in the history
If the user specified a PREFIX containing spaces, compilation would
fail due to the DENG_BASE_DIR and DENG_LIB_DIR defines being supplied
with incorrect quoting to the compiler command line.
  • Loading branch information
skyjake committed May 25, 2012
1 parent 2a24d69 commit 90574b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/engine/engine.pro
Expand Up @@ -48,8 +48,8 @@ else:macx {
}
else {
# Generic Unix.
DEFINES += DENG_BASE_DIR=\\\"$${DENG_BASE_DIR}/\\\"
DEFINES += DENG_LIBRARY_DIR=\\\"$${DENG_LIB_DIR}/\\\"
DEFINES += DENG_BASE_DIR=\"\\\"$${DENG_BASE_DIR}/\\\"\"
DEFINES += DENG_LIBRARY_DIR=\"\\\"$${DENG_LIB_DIR}/\\\"\"

QMAKE_LFLAGS += -rdynamic

Expand Down

0 comments on commit 90574b3

Please sign in to comment.