-Wl,-rpath seems to be more portable than -R

This commit is contained in:
Pierre Pronchery 2007-05-21 02:39:36 +00:00
parent 9c35d14dea
commit 1c7b8d33a3
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ CC = cc
CPPFLAGS= CPPFLAGS=
CFLAGSF = -W CFLAGSF = -W
CFLAGS = -Wall -g -O2 CFLAGS = -Wall -g -O2
LDFLAGS = -L $(PREFIX)/lib -R $(PREFIX)/lib -l System LDFLAGS = -L $(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib -l System
RM = rm -f RM = rm -f
MKDIR = mkdir -p MKDIR = mkdir -p
INSTALL = install INSTALL = install

View File

@ -1,7 +1,7 @@
targets=configure targets=configure
cflags_force=-W cflags_force=-W
cflags=-Wall -g -O2 cflags=-Wall -g -O2
ldflags=-L $(PREFIX)/lib -R $(PREFIX)/lib -l System -l dl ldflags=-L $(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib -l System -l dl
dist=Makefile,configure.h,makefile.h,settings.h dist=Makefile,configure.h,makefile.h,settings.h
[configure] [configure]