From: ellson Date: Tue, 18 Oct 2005 18:28:45 +0000 (+0000) Subject: use --rpath and avoid need for LD_LIBRARY_PATH in dot.demo/ progs X-Git-Tag: LAST_LIBGRAPH~32^2~7312 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e283df0ce77bdc15f325cd08cc6c83108739b3ba;p=graphviz use --rpath and avoid need for LD_LIBRARY_PATH in dot.demo/ progs --- diff --git a/dot.demo/Makefile b/dot.demo/Makefile index e6e69eb46..01ca2f84e 100644 --- a/dot.demo/Makefile +++ b/dot.demo/Makefile @@ -1,5 +1,5 @@ CFLAGS=`pkg-config libgvc --cflags` -Wall -g -O2 -LDFLAGS=`pkg-config libgvc --libs` +LDFLAGS=-Wl,--rpath -Wl,`pkg-config libgvc --variable=libdir` `pkg-config libgvc --libs` all: dot demo simple