Skip to content

Commit

Permalink
Use rpath-link to make linking easier
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Apr 15, 2016
1 parent c535ec7 commit 2fe814f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions m4/omhome.m4
Expand Up @@ -62,6 +62,13 @@ else
AC_MSG_ERROR(failed)
fi
fi
if echo $host | grep -iq darwin; then
true
elif test "$host" = "i586-pc-mingw32msvc"; then
true
else
LDFLAGS="$LDFLAGS -Wl,-rpath-link,$OPENMODELICAHOME/lib/$host_short/omc"
fi
])

define(FIND_LIBOPENMODELICACOMPILER, [
Expand Down

0 comments on commit 2fe814f

Please sign in to comment.