Skip to content

Commit

Permalink
Multiarch patch: install libraries to OMHOME/lib/<triplet>/omc
Browse files Browse the repository at this point in the history
- This will allow users to install multiple versions of the simulation libraries at the same time


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@25841 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Apr 30, 2015
1 parent 8a93f2f commit 1e3d33b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions OMPlot/OMPlotGUI/Makefile.unix.in
Expand Up @@ -34,8 +34,8 @@ endif

$(LIB): Makefile.lib
$(MAKE) -f $<
cp -a ../bin/libOMPlot* $(top_builddir)/build/lib/omc/
test ! `uname` = Darwin || install_name_tool -id @rpath/libOMPlot.1.0.0.dylib $(top_builddir)/build/lib/omc/libOMPlot.1.0.0.dylib
cp -a ../bin/libOMPlot* $(top_builddir)/build/lib/@host_short@/omc/
test ! `uname` = Darwin || install_name_tool -id @rpath/libOMPlot.1.0.0.dylib $(top_builddir)/build/lib/@host_short@/omc/libOMPlot.1.0.0.dylib

build: $(NAME) $(LIB)
cp -p ../bin/$(NAME) $(builddir_bin)
Expand Down
2 changes: 1 addition & 1 deletion OMPlot/OMPlotGUI/OMPlotGUI.config.in
Expand Up @@ -2,7 +2,7 @@ QMAKE_CC = @CC@
QMAKE_CXX = @CXX@
QMAKE_LINK = @CXX@

LIBS += -L ../../build/lib/omc -lomqwt @RPATH_QMAKE@
LIBS += -L ../../build/lib/@host_short@/omc -lomqwt @RPATH_QMAKE@
INCLUDEPATH += ../../3rdParty/qwt/src ../../3rdParty/gc/include

QMAKE_CFLAGS = @CFLAGS@ @CPPFLAGS@
Expand Down

0 comments on commit 1e3d33b

Please sign in to comment.