libuafs: use the pic version of opr for perluafs
authorChas Williams (CONTRACTOR) <chas@cmf.nrl.navy.mil>
Mon, 17 Sep 2012 19:00:06 +0000 (15:00 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Mon, 17 Sep 2012 20:15:19 +0000 (13:15 -0700)
perluafs is a shared library, therefore we need to use the PIC version
of the opr library (just like any of the other libraries that have two
flavors and get linked with perluafs).

Change-Id: I597f4f40010524d94341d343d3f54648a139f760
Reviewed-on: http://gerrit.openafs.org/8131
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Simon Wilkinson <simonxwilkinson@gmail.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

src/libuafs/Makefile.common.in

index eb73b20..28cd132 100644 (file)
@@ -2086,7 +2086,7 @@ $(PERLUAFS)/ukernel.so: $(PERLUAFS)/ukernel_swig_perl.o UAFS.pic/libuafs_pic.a
                $(PERLUAFS)/ukernel_swig_perl.o \
                UAFS.pic/libuafs_pic.a ${TOP_LIBDIR}/libcmd_pic.a \
                ${TOP_LIBDIR}/libafsutil_pic.a \
-               $(TOP_LIBDIR)/libopr.a \
+               $(TOP_LIBDIR)/libopr_pic.a \
                $(LDFLAGS_roken) $(LDFLAGS_hcrypto) $(LIB_hcrypto) \
                $(LIB_roken) $(LIB_crypt) \
                $(XLIBS)