Aditya Kamath <Aditya.Kamath1@ibm.com> writes:
> Just that if someone runs test cases without disabling rpath then the test cases wont run.(Only while using the GNU
buildsystem in AIX)
Hmm, I'm not sure why that should be. All the cases I've tried work
fine, and I'm not disabling rpath.
> For which I have one suggestion,
> # -blibpath must contain ALL directories where we should look for libraries
> libpath := $(shell echo $(subst -L,:,$(filter -L/%,$(LDFLAGS))) | sed -e's/ //g'):/opt/freeware/lib:/usr/lib:/lib
> How about adding "/opt/freeware/lib" to the calculation like the above lines. This is the standard path where all AIX
open-sourcefreeware libraries will exist, and system libraries will be in /usr/lib. We have this differentiation in
AIX.
Okay. In my testing that's already gotten into LDFLAGS at this point,
but I can't see any harm in hard-wiring it into the list given that
we're already hard-wiring /usr/lib and /lib.
regards, tom lane