mirror of https://github.com/KLayout/klayout.git
Fixed non-Ruby build where DRC is not available.
This commit is contained in:
parent
b9c302229f
commit
9d5f54d51a
|
|
@ -40,7 +40,9 @@
|
|||
#include "libForceLink.h"
|
||||
#include "antForceLink.h"
|
||||
#include "imgForceLink.h"
|
||||
#ifdef HAVE_RUBY
|
||||
#include "drcForceLink.h"
|
||||
#endif
|
||||
|
||||
#include <QTranslator>
|
||||
#include <QLocale>
|
||||
|
|
|
|||
|
|
@ -49,7 +49,9 @@
|
|||
// required to force linking of the "ext", "lib" and "drc" module
|
||||
#include "extForceLink.h"
|
||||
#include "libForceLink.h"
|
||||
#if defined(HAVE_RUBY)
|
||||
#include "drcForceLink.h"
|
||||
#endif
|
||||
|
||||
static int main_cont (int argc, char **argv);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
INCLUDEPATH += $$TL_INC $$GSI_INC $$DB_INC $$RDB_INC $$LYM_INC $$LAYBASIC_INC $$LAY_INC $$ANT_INC $$IMG_INC $$EDT_INC $$DRC_INC $$EXT_INC $$LIB_INC $$RBA_INC $$PYA_INC $$VERSION_INC
|
||||
DEPENDPATH += $$TL_INC $$GSI_INC $$DB_INC $$RDB_INC $$LYM_INC $$LAYBASIC_INC $$LAY_INC $$ANT_INC $$IMG_INC $$EDT_INC $$DRC_INC $$EXT_INC $$LIB_INC $$RBA_INC $$PYA_INC $$VERSION_INC
|
||||
INCLUDEPATH += $$TL_INC $$GSI_INC $$DB_INC $$RDB_INC $$LYM_INC $$LAYBASIC_INC $$LAY_INC $$ANT_INC $$IMG_INC $$EDT_INC $$EXT_INC $$LIB_INC $$RBA_INC $$PYA_INC $$VERSION_INC
|
||||
DEPENDPATH += $$TL_INC $$GSI_INC $$DB_INC $$RDB_INC $$LYM_INC $$LAYBASIC_INC $$LAY_INC $$ANT_INC $$IMG_INC $$EDT_INC $$EXT_INC $$LIB_INC $$RBA_INC $$PYA_INC $$VERSION_INC
|
||||
|
||||
LIBS += $$PYTHONLIBFILE $$RUBYLIBFILE -L$$DESTDIR -lklayout_tl -lklayout_gsi -lklayout_db -lklayout_rdb -lklayout_lym -lklayout_laybasic -lklayout_lay -lklayout_ant -lklayout_img -lklayout_edt -lklayout_drc -lklayout_ext -lklayout_lib
|
||||
LIBS += $$PYTHONLIBFILE $$RUBYLIBFILE -L$$DESTDIR -lklayout_tl -lklayout_gsi -lklayout_db -lklayout_rdb -lklayout_lym -lklayout_laybasic -lklayout_lay -lklayout_ant -lklayout_img -lklayout_edt -lklayout_ext -lklayout_lib
|
||||
|
||||
# Note: this accounts for UI-generated headers placed into the output folders in
|
||||
# shadow builds:
|
||||
|
|
@ -26,3 +26,10 @@ equals(HAVE_PYTHON, "1") {
|
|||
} else {
|
||||
LIBS += -lklayout_pyastub
|
||||
}
|
||||
|
||||
equals(HAVE_RUBY, "1") {
|
||||
# DRC is only available with Ruby
|
||||
INCLUDEPATH += $$DRC_INC
|
||||
DEPENDPATH += $$DRC_INC
|
||||
LIBS += -lklayout_drc
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue