Skip to content

Commit

Permalink
Fix for OSX? Add an empty file to the tables library to make the link…
Browse files Browse the repository at this point in the history
…er function

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@16200 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Jun 4, 2013
1 parent 22031d8 commit 4107100
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion SimulationRuntime/c/ModelicaExternalC/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MSLCSOURCES=../../../libraries/Modelica\ 3.2.1/Modelica/Resources/C-Sources/
lib_LTLIBRARIES = libModelicaExternalC.la libModelicaStandardTables.la
libModelicaExternalC_la_SOURCES = $(MSLCSOURCES)/ModelicaInternal.c $(MSLCSOURCES)/ModelicaStrings.c $(MSLCSOURCES)/ModelicaStandardTables.c $(MSLCSOURCES)/ModelicaMatIO.c ModelicaTablesImpl.c tables.c
libModelicaStandardTables_la_SOURCES =
libModelicaStandardTables_la_SOURCES = dummy.c
libModelicaStandardTables_la_LIBADD = libModelicaExternalC.la
1 change: 1 addition & 0 deletions SimulationRuntime/c/ModelicaExternalC/dummy.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* The OSX linker cannot handle empty libraries */

0 comments on commit 4107100

Please sign in to comment.