Skip to content
Snippets Groups Projects
Commit 1722e948 authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

also pass path to linker, otherwise not working with shared lib.

[[Imported from SVN: r4866]]
parent 945ebb60
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ if test "x$X_LIBS" != x && test x$with_grape != xno ; then
LDFLAGS="$LDFLAGS $GL_LDFLAGS"
AC_CHECK_LIB(gr, grape,
[GRAPE_LDFLAGS="-L$GRAPEROOT $GL_LDFLAGS"
[GRAPE_LDFLAGS="-L$GRAPEROOT $GL_LDFLAGS -Wl,--rpath -Wl,$GRAPEROOT"
GRAPE_CPPFLAGS="$CPPFLAGS"
GRAPE_LIBS="-lgr $GL_LIBS -lXext"],
[HAVE_GRAPE="0"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment