caam

changeset 35:bcc4ae4e2d64

In usage, replace -R with -Wl,-rpath=
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 23 Feb 2020 20:47:32 +0900
parents 1ef741b72295
children 381840eb8030
files bin/caam
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/bin/caam	Sat Feb 22 12:19:15 2020 +0900
     1.2 +++ b/bin/caam	Sun Feb 23 20:47:32 2020 +0900
     1.3 @@ -103,8 +103,8 @@
     1.4  	  CAAM_ADD=gtk2:/usr/X11R7 $myname -maic --prefix=/usr/local/bar
     1.5  	    --> Add -I$top/gtk2/include and -I/usr/X11R7/include
     1.6  	 	to CFLAGS, add
     1.7 -	 	  -L$top/gtk2/lib -R$top/gtk2/lib
     1.8 -	 	  -L/usr/X11R7/lib -R/usr/X11R7/lib
     1.9 +	 	  -L$top/gtk2/lib -Wl,-rpath=$top/gtk2/lib
    1.10 +	 	  -L/usr/X11R7/lib -Wl,-rpath=/usr/X11R7/lib
    1.11  	 	to LDFLAGS, then call
    1.12  	 	./configure --preifx=/usr/local/bar && make all install clean
    1.13  	EOF