# HG changeset patch # User HIROSE Yuuji # Date 1582458452 -32400 # Node ID bcc4ae4e2d642f93bad93cb45a70a4d250baf7c6 # Parent 1ef741b72295c6e531a9bf4f33b12f8104062706 In usage, replace -R with -Wl,-rpath= diff -r 1ef741b72295 -r bcc4ae4e2d64 bin/caam --- a/bin/caam Sat Feb 22 12:19:15 2020 +0900 +++ b/bin/caam Sun Feb 23 20:47:32 2020 +0900 @@ -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