Skip to content

Commit

Permalink
- library order hell fixed.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15019 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Jan 31, 2013
1 parent 11eb0d9 commit 971da46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Compiler/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ AST = $(top_builddir)/Parser/libomparse_rml.a $(top_builddir)/Parser/libantlr3.a

RTOBJ = \
$(srcdir)/runtime/runtime.a \
-lModelicaExternalC \
$(top_builddir)/build/lib/omc/libOpenModelicaRuntimeC.a \
$(srcdir)/modpar/libmodpar.a

Expand Down
2 changes: 1 addition & 1 deletion Compiler/omc_release/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ else
CORBALIBS=
endif

LDFLAGS = @LDFLAGS@ -lm -L$(RMLHOME)/lib/plain -lrml -lModelicaExternalC \
LDFLAGS = @LDFLAGS@ -lm -L$(RMLHOME)/lib/plain -lrml \
$(LIBSOCKET) $(CORBALIBS) $(LIBLPSOLVE55) \
-L../../build/lib/omc -Wl,-rpath,'$$ORIGIN/../lib/omc' @RT_LDFLAGS@ @LD_LAPACK@ @SQLITE3_LIBS@

Expand Down

0 comments on commit 971da46

Please sign in to comment.