]> granicus.if.org Git - graphviz/commitdiff
use --rpath and avoid need for LD_LIBRARY_PATH in dot.demo/ progs
authorellson <devnull@localhost>
Tue, 18 Oct 2005 18:28:45 +0000 (18:28 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 18:28:45 +0000 (18:28 +0000)
dot.demo/Makefile

index e6e69eb46b7ab8d53dd82f0ea530afb13bb0c606..01ca2f84e829b2368185944e3da1106075f42a2a 100644 (file)
@@ -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