minor build fix; avoid generating empty -I or -L arguments. Needed for MacPorts build
This commit is contained in:
parent
083bf4313f
commit
c7a3e206d8
1 changed files with 3 additions and 2 deletions
|
|
@ -19,8 +19,9 @@ macx: {
|
|||
GETTEXT_LIBPATH = $$OPENSCAD_LIBRARIES_DIR/lib
|
||||
}
|
||||
}
|
||||
GETTEXT_CXXFLAGS=-I$$GETTEXT_INCLUDEPATH
|
||||
GETTEXT_LIBS=-L$$GETTEXT_LIBPATH -lintl -liconv
|
||||
!isEmpty(GETTEXT_INCLUDEPATH): GETTEXT_CXXFLAGS = -I$$GETTEXT_INCLUDEPATH
|
||||
!isEmpty(GETTEXT_LIBPATH): GETTEXT_LIBS = -L$$GETTEXT_LIBPATH
|
||||
GETTEXT_LIBS += -lintl -liconv
|
||||
}
|
||||
|
||||
QMAKE_CXXFLAGS += $$GETTEXT_CXXFLAGS
|
||||
|
|
|
|||
Loading…
Reference in a new issue