Dear Dev TEam,

Hear is a trivial patch to install the shared libraries if you use
the --enable-threaded-kmod-helper  configure option.
The patch is against 2.7.1

Using the threaded kmod helper didn't work for me, incidentally,
so I'm not using the option...

Thanks
Tony

--
Tony Kew
SAN Administrator
The Center for Computational Research
New York State Center of Excellence
in Bioinformatics & Life Sciences
701 Ellicott Street, Buffalo, NY 14203

CoE Office: (716) 881-8930           Fax: (716) 849-6656
CSE Office: (716) 645-3797 x2174
     Cell: (716) 560-0910          Home: (716) 874-2126

"I love deadlines, I love the whooshing noise they make as they go by."
                                                         Douglas Adams

--- Makefile.in.orig	2008-04-14 11:37:32.000000000 -0400
+++ Makefile.in	2008-05-23 10:20:34.000000000 -0400
@@ -447,12 +447,14 @@ LIBRARIES_THREADED :=
 ifeq ($(build_shared),yes)
 LIBRARIES_SHARED = lib/libpvfs2.so
 LIBRARIES += $(LIBRARIES_SHARED)
-LIBRARIES_THREADED += lib/libpvfs2-threaded.so
+LIBRARIES_THREADED_SHARED += lib/libpvfs2-threaded.so
+LIBRARIES_THREADED += $(LIBRARIES_THREADED_SHARED)
 endif
 ifeq ($(build_static),yes)
 LIBRARIES_STATIC = lib/libpvfs2.a
 LIBRARIES += $(LIBRARIES_STATIC)
-LIBRARIES_THREADED += lib/libpvfs2-threaded.a
+LIBRARIES_THREADED_STATIC += lib/libpvfs2-threaded.a
+LIBRARIES_THREADED += $(LIBRARIES_THREADED_STATIC)
 endif
 
 ################################################################
@@ -933,6 +935,11 @@ ifneq (,$(LIBRARIES_STATIC))
 	for i in $(notdir $(LIBRARIES_STATIC)) ; do \
 	    install -m 755 lib/$$i $(libdir) ;\
 	done
+ifneq (,$(KERNAPPSTHR))
+	for i in $(notdir $(LIBRARIES_THREADED_STATIC)) ; do \
+	    install -m 755 lib/$$i $(libdir) ;\
+	done
+endif
 endif
 ifneq (,$(LIBRARIES_SHARED))
 	for i in $(notdir $(LIBRARIES_SHARED)) ; do \
@@ -940,6 +947,13 @@ ifneq (,$(LIBRARIES_SHARED))
 	    $(LN_S) $$i.$(SO_FULLVER) $(libdir)/$$i.$(SO_VER) ;\
 	    $(LN_S) $$i.$(SO_VER) $(libdir)/$$i ;\
 	done
+ifneq (,$(KERNAPPSTHR))
+	for i in $(notdir $(LIBRARIES_THREADED_SHARED)) ; do \
+	    install -m 755 lib/$$i $(libdir)/$$i.$(SO_FULLVER) ;\
+	    $(LN_S) $$i.$(SO_FULLVER) $(libdir)/$$i.$(SO_VER) ;\
+	   $(LN_S) $$i.$(SO_VER) $(libdir)/$$i ;\
+	done
+endif
 endif
 
 ifdef TARGET_OS_DARWIN
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to