libtool gets confused if it is running two instances in the same
directory, so make sure we build libafsrpc.la and libafsrpc_pic.la
one after the other.
Change-Id: Idfd16b1f4e1efe07822a300df798bf05e2df6bcd
Reviewed-on: http://gerrit.openafs.org/8086
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: Derrick Brashear <shadow@your-file-system.com>
# there doesn't seem to be any way to get libtool to remember this requirement
# when it links the libafsrpc_sys.la convenience library.
-libafsrpc.la: libafsrpc.la.sym $(LT_objs) $(LT_deps)
+libafsrpc.la: libafsrpc.la.sym $(LT_objs) $(LT_deps) libafsrpc_pic.la
@set -e; set -x; case "$(SYS_NAME)" in \
rs_aix*) \
$(LT_LDLIB_shlib) -Wl,-bI:../sys/afsl.exp \