File tree Expand file tree Collapse file tree 5 files changed +9
-10
lines changed Expand file tree Collapse file tree 5 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -8985,8 +8985,9 @@ algorithm
89858985 true = "Windows_NT" ==& System . os();
89868986 str = "-l" +& str;
89878987 strs = getLibraryStringInGccFormat(Absyn . STRING ("Lapack" ));
8988- strs = str :: "-llpsolve55" :: "-lmico2313" :: "-lws2_32" :: "-lregex" :: strs;
8989- then strs;
8988+ strs = str :: "-lsqlite3" :: "-llpsolve55" :: "-lmico2313" :: "-lws2_32" :: "-lregex" :: strs;
8989+ then
8990+ strs;
89908991
89918992 // The library is not actually named libLapack.so.
89928993 // Which is a problem, since MSL says it does.
@@ -9004,7 +9005,8 @@ algorithm
90049005 case Absyn . STRING (str as "omcruntime" )
90059006 equation
90069007 false = "Windows_NT" ==& System . os();
9007- then System . getRuntimeLibs();
9008+ then
9009+ System . getRuntimeLibs();
90089010
90099011 // If the string contains a dot, it's a good path that should not be prefix -l
90109012 case Absyn . STRING (str)
Original file line number Diff line number Diff line change @@ -12,9 +12,6 @@ all : .testvariables .depend $(ALLMO) $(SRCSIGX)
1212SUBDIRS = runtime parser modpar
1313SRCHSRCDIR = $(SRCH:%.h=$(srcdir)/%.h)
1414
15- # Don't link against sqlite until we actually need it -lsqlite3
16- SQLITE3=
17-
1815.SUFFIXES: .o .mo .h .c
1916.PHONY: all vctarget absyn_subdir clean reallyclean $(SUBDIRS)
2017
Original file line number Diff line number Diff line change 1919RML_COMPAT=$(top_builddir)/c_runtime/meta/rml_compatibility.h
2020
2121SRC = RTOpts_rml.c Print_rml.c System_rml.c Settings_rml.c \
22- SimulationResults_rml.c IOStreamExt_rml.c Database_rml.c Socket_rml.c sqlite/sqlite3.c
22+ SimulationResults_rml.c IOStreamExt_rml.c Database_rml.c Socket_rml.c
2323
2424CPPSRC = unitparser.cpp UnitParserExt_rml.cpp ptolemyio_rml.cpp \
2525 BackendDAEEXT_rml.cpp ErrorMessage.cpp Error_rml.cpp OptManager_rml.cpp \
@@ -82,4 +82,4 @@ ptolemyio_omc.o : ptolemyio.cpp $(RML_COMPAT)
8282ErrorMessage.o : ErrorMessage.cpp ErrorMessage.hpp
8383
8484clean:
85- $(RM) -rf *.a *.o omc_communication.cc omc_communication.h omc_communication-* sqlite/*.o
85+ $(RM) -rf *.a *.o omc_communication.cc omc_communication.h omc_communication-*
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ CC = @CC@
2424CXX = @CXX@
2525IDL = @IDLCMD@
2626CXXFLAGS = $(CFLAGS )
27- CPPFLAGS = -I$(RMLINCLUDE ) -I$(top_builddir ) /c_runtime -I$(top_builddir ) /c_runtime/meta -I$(srcdir ) -I. $(CORBAINCL ) -Ilpsolve
27+ CPPFLAGS = -I$(RMLINCLUDE ) -I$(top_builddir ) /c_runtime -I$(top_builddir ) /c_runtime/meta -I$(srcdir ) -I. $(CORBAINCL )
2828
2929include Makefile.common
3030
Original file line number Diff line number Diff line change 5656#define CONFIG_DLL_EXT ".dll"
5757#define CONFIG_OS "Windows_NT"
5858#define CONFIG_CORBALIBS "-L$(OPENMODELICAHOME)/lib/omc -lmico2313"
59- #define CONFIG_LPSOLVEINC "lp_lib.h"
59+ #define CONFIG_LPSOLVEINC "lpsolve/ lp_lib.h"
6060/* Windows is always "special" */
6161#define CONFIG_SYSTEMLIBS mk_nil()
6262
You can’t perform that action at this time.
0 commit comments