diff --git a/bin/caam b/bin/caam index 30380ac..4e1ffe7 100755 --- a/bin/caam +++ b/bin/caam @@ -103,8 +103,8 @@ CAAM_ADD=gtk2:/usr/X11R7 $myname -maic --prefix=/usr/local/bar --> Add -I$top/gtk2/include and -I/usr/X11R7/include to CFLAGS, add - -L$top/gtk2/lib -R$top/gtk2/lib - -L/usr/X11R7/lib -R/usr/X11R7/lib + -L$top/gtk2/lib -Wl,-rpath=$top/gtk2/lib + -L/usr/X11R7/lib -Wl,-rpath=/usr/X11R7/lib to LDFLAGS, then call ./configure --preifx=/usr/local/bar && make all install clean EOF