SOURCES: glusterfs-link_fix.patch - link with shared objcetc files instead ...

shadzik shadzik at pld-linux.org
Wed Aug 13 13:28:20 CEST 2008


Author: shadzik                      Date: Wed Aug 13 11:28:19 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- link with shared objcetc files instead of .la files

---- Files affected:
SOURCES:
   glusterfs-link_fix.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/glusterfs-link_fix.patch
diff -u SOURCES/glusterfs-link_fix.patch:1.1 SOURCES/glusterfs-link_fix.patch:1.2
--- SOURCES/glusterfs-link_fix.patch:1.1	Thu Aug  7 18:28:19 2008
+++ SOURCES/glusterfs-link_fix.patch	Wed Aug 13 13:28:14 2008
@@ -4,7 +4,7 @@
  authdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/auth
  
  ip_so_SOURCES = ip.c
-+ip_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++ip_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
 +
  #noinst_HEADERS = alu.h
  
@@ -15,7 +15,7 @@
  authdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/auth
  
  login_so_SOURCES = login.c
-+login_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++login_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  #noinst_HEADERS = alu.h
  
  AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS)\
@@ -28,7 +28,7 @@
 +
  stripe_so_SOURCES = stripe.c
  #noinst_HEADERS = unify.h
-+stripe_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++stripe_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  
  AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS)\
  	-I$(top_srcdir)/libglusterfs/src -shared -nostartfiles $(GF_DARWIN_BUNDLE_CFLAGS)
@@ -38,7 +38,7 @@
  xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/debug
  
  trace_so_SOURCES = trace.c
-+trace_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++trace_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  
  AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS)\
  	-I$(top_srcdir)/libglusterfs/src -shared -nostartfiles $(GF_DARWIN_BUNDLE_CFLAGS)
@@ -48,7 +48,7 @@
  xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features
  
  trash_so_SOURCES = trash.c
-+trash_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la 
++trash_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  
  AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS)\
  	-I$(top_srcdir)/libglusterfs/src -shared -nostartfiles $(GF_DARWIN_BUNDLE_CFLAGS)
@@ -58,7 +58,7 @@
  xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features
  
  filter_so_SOURCES = filter.c
-+filter_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++filter_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
 +
  noinst_HEADERS = filter.h
  
@@ -69,7 +69,7 @@
  xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features
  
  fixed_id_so_SOURCES = fixed-id.c
-+fixed_id_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la 
++fixed_id_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  
  AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS) \
  	-I$(top_srcdir)/libglusterfs/src -shared -nostartfiles $(GF_DARWIN_BUNDLE_CFLAGS)
@@ -79,7 +79,7 @@
  xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features
  
  posix_locks_so_SOURCES = posix-locks.c
-+posix_locks_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la 
++posix_locks_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so 
 +
  noinst_HEADERS = posix-locks.h
  
@@ -98,7 +98,7 @@
  fuse_so_LDFLAGS = -shared -nostartfiles $(GF_DARWIN_BUNDLE_CFLAGS)
 -fuse_so_LDADD = -lfuse $(GF_DARWIN_FUSE_LDADD)
 +fuse_so_LDADD = -lfuse $(GF_DARWIN_FUSE_LDADD)  \
-+		$(top_builddir)/libglusterfs/src/libglusterfs.la
++		$(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  
  
  CLEANFILES = *~
@@ -108,7 +108,7 @@
  xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/protocol
  
  server_so_SOURCES = server-protocol.c
-+server_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++server_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
 +
  noinst_HEADERS = server-protocol.h 
  
@@ -119,7 +119,7 @@
  xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/storage
  
  posix_so_SOURCES = posix.c 
-+posix_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la 
++posix_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so 
 +
  noinst_HEADERS = posix.h 
  
@@ -130,7 +130,7 @@
  xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/encryption
  
  rot_13_so_SOURCES = rot-13.c
-+rot_13_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la 
++rot_13_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so 
 +
  noinst_HEADERS = rot-13.h
  
@@ -141,7 +141,7 @@
  xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance
  
  write_behind_so_SOURCES = write-behind.c
-+write_behind_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++write_behind_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  
  AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS)\
  	-I$(top_srcdir)/libglusterfs/src -shared -nostartfiles $(GF_DARWIN_BUNDLE_CFLAGS)
@@ -151,7 +151,7 @@
  	-I$(top_srcdir)/libglusterfs/src -shared -nostartfiles \
  	-D$(GF_HOST_OS) $(GF_DARWIN_BUNDLE_CFLAGS)
  booster_so_LDFLAGS = -shared $(GF_DARWIN_BUNDLE_CFLAGS)
-+booster_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++booster_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  
  noinst_HEADERS = booster.h
  
@@ -161,7 +161,7 @@
  xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance
  
  io_cache_so_SOURCES = io-cache.c page.c ioc-inode.c
-+io_cache_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++io_cache_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  
  noinst_HEADERS = io-cache.h
  
@@ -171,7 +171,7 @@
  
  read_ahead_so_SOURCES = read-ahead.c page.c
  
-+read_ahead_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++read_ahead_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
 +
  noinst_HEADERS = read-ahead.h
  
@@ -182,7 +182,7 @@
  xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance
  
  io_threads_so_SOURCES = io-threads.c
-+io_threads_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++io_threads_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
 +
  noinst_HEADERS = io-threads.h
  
@@ -193,7 +193,7 @@
  transportdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/transport/tcp/
  
  client_so_SOURCES = tcp-client.c $(top_srcdir)/transport/tcp/tcp.c
-+client_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++client_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  
  AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS)\
  	-I$(top_srcdir)/libglusterfs/src -I$(top_srcdir)/transport/tcp/ -shared -nostartfiles $(GF_DARWIN_BUNDLE_CFLAGS)
@@ -203,7 +203,7 @@
  transportdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/transport/tcp/
  
  server_so_SOURCES = tcp-server.c $(top_srcdir)/transport/tcp/tcp.c
-+server_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++server_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  
  AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS)\
  	-I$(top_srcdir)/libglusterfs/src -I$(top_srcdir)/transport/tcp/ -shared -nostartfiles $(GF_DARWIN_BUNDLE_CFLAGS)
@@ -213,7 +213,7 @@
  transportdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/transport/ib-sdp
  
  client_so_SOURCES = ib-sdp-client.c $(top_srcdir)/transport/ib-sdp/ib-sdp.c
-+client_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++client_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  
  AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS)\
  	-I$(top_srcdir)/libglusterfs/src -I$(top_srcdir)/transport/ib-sdp -shared -nostartfiles $(GF_DARWIN_BUNDLE_CFLAGS)
@@ -223,7 +223,7 @@
  transportdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/transport/ib-sdp
  
  server_so_SOURCES = ib-sdp-server.c $(top_srcdir)/transport/ib-sdp/ib-sdp.c
-+server_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++server_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  
  AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS)\
  	-I$(top_srcdir)/libglusterfs/src -I$(top_srcdir)/transport/ib-sdp -shared -nostartfiles $(GF_DARWIN_BUNDLE_CFLAGS)
@@ -234,7 +234,7 @@
  
  client_so_SOURCES = ib-verbs-client.c $(top_srcdir)/transport/ib-verbs/ib-verbs.c
 -client_so_LDADD = -libverbs
-+client_so_LDADD = -libverbs $(top_builddir)/libglusterfs/src/libglusterfs.la
++client_so_LDADD = -libverbs $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  
  AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS)\
  	-I$(top_srcdir)/libglusterfs/src -I$(top_srcdir)/transport/ib-verbs -shared -nostartfiles
@@ -245,7 +245,7 @@
  
  server_so_SOURCES = ib-verbs-server.c $(top_srcdir)/transport/ib-verbs/ib-verbs.c
 -server_so_LDADD = -libverbs
-+server_so_LDADD = -libverbs $(top_builddir)/libglusterfs/src/libglusterfs.la
++server_so_LDADD = -libverbs $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  
  AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS)\
  	-I$(top_srcdir)/libglusterfs/src -I$(top_srcdir)/transport/ib-verbs -shared -nostartfiles
@@ -255,7 +255,7 @@
  scheddir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/scheduler
  
  nufa_so_SOURCES = nufa.c
-+nufa_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++nufa_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
 +
  noinst_HEADERS = nufa.h
  
@@ -266,7 +266,7 @@
  scheddir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/scheduler
  
  rr_so_SOURCES = rr.c
-+rr_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++rr_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
 +
  noinst_HEADERS = rr.h
  
@@ -277,7 +277,7 @@
  scheddir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/scheduler
  
  alu_so_SOURCES = alu.c
-+alu_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++alu_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
 +
  noinst_HEADERS = alu.h
  
@@ -288,7 +288,7 @@
  scheddir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/scheduler
  
  random_so_SOURCES = random.c
-+random_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++random_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
 +
  noinst_HEADERS = random.h
  
@@ -299,7 +299,7 @@
  scheddir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/scheduler
  
  switch_so_SOURCES = switch.c
-+switch_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++switch_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  
  AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS) \
  	-I$(top_srcdir)/libglusterfs/src -shared -nostartfiles $(GF_DARWIN_BUNDLE_CFLAGS)
@@ -309,7 +309,7 @@
  xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/cluster
  
  unify_so_SOURCES = unify.c unify-self-heal.c
-+unify_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++unify_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
 +
  noinst_HEADERS = unify.h
  
@@ -320,7 +320,7 @@
  xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/cluster
  
  afr_so_SOURCES = afr.c afr_self_heal.c
-+afr_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++afr_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
 +
  noinst_HEADERS = afr.h
  
@@ -331,7 +331,7 @@
  xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/protocol
  
  client_so_SOURCES = client-protocol.c
-+client_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++client_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
 +
  noinst_HEADERS = client-protocol.h
  
@@ -342,7 +342,7 @@
  transportdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/transport/unix/
  
  client_so_SOURCES = unix-client.c $(top_srcdir)/transport/unix/unix.c
-+client_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++client_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  
  AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS)\
  	-I$(top_srcdir)/libglusterfs/src -I$(top_srcdir)/transport/unix/ -shared -nostartfiles $(GF_DARWIN_BUNDLE_CFLAGS)
@@ -352,7 +352,7 @@
  transportdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/transport/unix/
  
  server_so_SOURCES = unix-server.c $(top_srcdir)/transport/unix/unix.c
-+server_so_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
++server_so_LDADD = $(top_builddir)/libglusterfs/src/.libs/libglusterfs.so
  
  AM_CFLAGS = -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -D$(GF_HOST_OS)\
  	-I$(top_srcdir)/libglusterfs/src -I$(top_srcdir)/transport/unix/ -shared -nostartfiles $(GF_DARWIN_BUNDLE_CFLAGS)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/glusterfs-link_fix.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list