scilab/scilab-6.1.0-fix-core-link.patch

31 lines
1.0 KiB
Diff

--- scilab-6.1.0/modules/core/Makefile.am.orig 2021-05-16 12:15:27.242176556 +0200
+++ scilab-6.1.0/modules/core/Makefile.am 2021-05-16 12:15:38.414362002 +0200
@@ -130,7 +130,6 @@
sci_gateway/cpp/sci_fieldnames.cpp \
sci_gateway/cpp/sci_checkNamedArguments.cpp
-if ENABLE_DEBUG
GATEWAY_CPP_SOURCES += \
sci_gateway/cpp/sci_inspectorDeleteUnreferencedItems.cpp \
sci_gateway/cpp/sci_inspectorGetItem.cpp \
@@ -139,7 +138,6 @@
sci_gateway/cpp/sci_inspectorShowItem.cpp \
sci_gateway/cpp/sci_inspectorShowUnreferencedItem.cpp \
sci_gateway/cpp/sci_inspectorGetFunctionList.cpp
-endif
libscicore_la_CPPFLAGS = \
-I$(srcdir)/includes/ \
--- scilab-6.1.0/modules/ast/Makefile.am.orig 2021-05-16 13:07:04.254552724 +0200
+++ scilab-6.1.0/modules/ast/Makefile.am 2021-05-16 13:07:15.439752622 +0200
@@ -253,9 +253,7 @@
src/cpp/analysis/check_acos.cpp \
src/cpp/analysis/check_____dottimes____.cpp
-if ENABLE_DEBUG
libsciast_la_SOURCES += src/cpp/types/inspector.cpp
-endif
libsciast_la_CPPFLAGS = \