Use proper libtool option -avoid-version instead of bogus -avoidversion
Change-Id: I1c9541058c7d07786539a3266ca125a6a15287d8 BUG: 859835 Signed-off-by: Anand Avati <avati@redhat.com> Original-author: Kacper Kowalik (Xarthisius) <xarthisius.kk@gmail.com> Signed-off-by: Kacper Kowalik (Xarthisius) <xarthisius.kk@gmail.com> Reviewed-on: http://review.gluster.org/3967 Tested-by: Gluster Build System <jenkins@build.gluster.com>
This commit is contained in:
parent
08d63afa1b
commit
d3e7881ecd
@ -19,7 +19,7 @@ xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/mount
|
||||
|
||||
api_la_SOURCES = glfs-master.c
|
||||
|
||||
api_la_LDFLAGS = -module -avoidversion
|
||||
api_la_LDFLAGS = -module -avoid-version
|
||||
api_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
||||
AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src
|
||||
|
@ -3,7 +3,7 @@
|
||||
transport_LTLIBRARIES = rdma.la
|
||||
transportdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/rpc-transport
|
||||
|
||||
rdma_la_LDFLAGS = -module -avoidversion
|
||||
rdma_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
rdma_la_SOURCES = rdma.c name.c
|
||||
rdma_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
|
||||
|
@ -3,7 +3,7 @@ noinst_HEADERS = socket.h name.h
|
||||
rpctransport_LTLIBRARIES = socket.la
|
||||
rpctransportdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/rpc-transport
|
||||
|
||||
socket_la_LDFLAGS = -module -avoidversion
|
||||
socket_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
socket_la_SOURCES = socket.c name.c
|
||||
socket_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -lssl
|
||||
|
@ -7,11 +7,11 @@ afr_common_source = afr-dir-read.c afr-dir-write.c afr-inode-read.c \
|
||||
afr-self-heal-algorithm.c afr-lk-common.c afr-self-heald.c \
|
||||
$(top_builddir)/xlators/lib/src/libxlator.c
|
||||
|
||||
afr_la_LDFLAGS = -module -avoidversion
|
||||
afr_la_LDFLAGS = -module -avoid-version
|
||||
afr_la_SOURCES = $(afr_common_source) afr.c
|
||||
afr_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
||||
pump_la_LDFLAGS = -module -avoidversion
|
||||
pump_la_LDFLAGS = -module -avoid-version
|
||||
pump_la_SOURCES = $(afr_common_source) pump.c
|
||||
pump_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
||||
|
@ -12,13 +12,13 @@ dht_la_SOURCES = $(dht_common_source) dht.c
|
||||
nufa_la_SOURCES = $(dht_common_source) nufa.c
|
||||
switch_la_SOURCES = $(dht_common_source) switch.c
|
||||
|
||||
dht_la_LDFLAGS = -module -avoidversion
|
||||
dht_la_LDFLAGS = -module -avoid-version
|
||||
dht_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
||||
nufa_la_LDFLAGS = -module -avoidversion
|
||||
nufa_la_LDFLAGS = -module -avoid-version
|
||||
nufa_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
||||
switch_la_LDFLAGS = -module -avoidversion
|
||||
switch_la_LDFLAGS = -module -avoid-version
|
||||
switch_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
||||
noinst_HEADERS = dht-common.h dht-mem-types.h \
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = ha.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/testing/cluster
|
||||
|
||||
ha_la_LDFLAGS = -module -avoidversion
|
||||
ha_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
ha_la_SOURCES = ha-helpers.c ha.c
|
||||
ha_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = map.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/testing/cluster
|
||||
|
||||
map_la_LDFLAGS = -module -avoidversion
|
||||
map_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
map_la_SOURCES = map.c map-helper.c
|
||||
map_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -2,7 +2,7 @@
|
||||
xlator_LTLIBRARIES = stripe.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/cluster
|
||||
|
||||
stripe_la_LDFLAGS = -module -avoidversion
|
||||
stripe_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
stripe_la_SOURCES = stripe.c stripe-helpers.c \
|
||||
$(top_builddir)/xlators/lib/src/libxlator.c
|
||||
|
@ -2,7 +2,7 @@
|
||||
xlator_LTLIBRARIES = error-gen.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/debug
|
||||
|
||||
error_gen_la_LDFLAGS = -module -avoidversion
|
||||
error_gen_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
error_gen_la_SOURCES = error-gen.c
|
||||
error_gen_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -2,7 +2,7 @@
|
||||
xlator_LTLIBRARIES = io-stats.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/debug
|
||||
|
||||
io_stats_la_LDFLAGS = -module -avoidversion
|
||||
io_stats_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
io_stats_la_SOURCES = io-stats.c
|
||||
io_stats_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -2,7 +2,7 @@
|
||||
xlator_LTLIBRARIES = trace.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/debug
|
||||
|
||||
trace_la_LDFLAGS = -module -avoidversion
|
||||
trace_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
trace_la_SOURCES = trace.c
|
||||
trace_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = rot-13.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/encryption
|
||||
|
||||
rot_13_la_LDFLAGS = -module -avoidversion
|
||||
rot_13_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
rot_13_la_SOURCES = rot-13.c
|
||||
rot_13_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = filter.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/testing/features
|
||||
|
||||
filter_la_LDFLAGS = -module -avoidversion
|
||||
filter_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
filter_la_SOURCES = filter.c
|
||||
filter_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = index.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features
|
||||
|
||||
index_la_LDFLAGS = -module -avoidversion
|
||||
index_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
index_la_SOURCES = index.c
|
||||
index_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = locks.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features
|
||||
|
||||
locks_la_LDFLAGS = -module -avoidversion
|
||||
locks_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
locks_la_SOURCES = common.c posix.c entrylk.c inodelk.c reservelk.c \
|
||||
clear.c
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = mac-compat.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features
|
||||
|
||||
mac_compat_la_LDFLAGS = -module -avoidversion
|
||||
mac_compat_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
mac_compat_la_SOURCES = mac-compat.c
|
||||
mac_compat_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = marker.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features
|
||||
|
||||
marker_la_LDFLAGS = -module -avoidversion
|
||||
marker_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
marker_la_SOURCES = marker.c marker-quota.c marker-quota-helper.c marker-common.c
|
||||
marker_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -2,7 +2,7 @@
|
||||
xlator_LTLIBRARIES = path-converter.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/testing/features
|
||||
|
||||
path_converter_la_LDFLAGS = -module -avoidversion
|
||||
path_converter_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
path_converter_la_SOURCES = path.c
|
||||
path_converter_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = quiesce.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features
|
||||
|
||||
quiesce_la_LDFLAGS = -module -avoidversion
|
||||
quiesce_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
quiesce_la_SOURCES = quiesce.c
|
||||
quiesce_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = quota.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features
|
||||
|
||||
quota_la_LDFLAGS = -module -avoidversion
|
||||
quota_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
quota_la_SOURCES = quota.c
|
||||
quota_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -4,12 +4,12 @@ xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features
|
||||
|
||||
noinst_HEADERS = read-only-common.h
|
||||
|
||||
read_only_la_LDFLAGS = -module -avoidversion
|
||||
read_only_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
read_only_la_SOURCES = read-only.c read-only-common.c
|
||||
read_only_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
||||
worm_la_LDFLAGS = -module -avoidversion
|
||||
worm_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
worm_la_SOURCES = read-only-common.c worm.c
|
||||
worm_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = trash.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/testing/features
|
||||
|
||||
trash_la_LDFLAGS = -module -avoidversion
|
||||
trash_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
trash_la_SOURCES = trash.c
|
||||
trash_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = glusterd.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/mgmt
|
||||
glusterd_la_CPPFLAGS = $(AM_CPPFLAGS) "-DFILTERDIR=\"$(libdir)/glusterfs/$(PACKAGE_VERSION)/filter\""
|
||||
glusterd_la_LDFLAGS = -module -avoidversion
|
||||
glusterd_la_LDFLAGS = -module -avoid-version
|
||||
if ENABLE_BD_XLATOR
|
||||
glusterd_la_LDFLAGS += -llvm2app
|
||||
endif
|
||||
|
@ -24,7 +24,7 @@ endif
|
||||
fuse_la_SOURCES = fuse-helpers.c fuse-resolve.c fuse-bridge.c \
|
||||
$(CONTRIBDIR)/fuse-lib/misc.c $(mount_source)
|
||||
|
||||
fuse_la_LDFLAGS = -module -avoidversion
|
||||
fuse_la_LDFLAGS = -module -avoid-version
|
||||
fuse_la_LIBADD = @GF_FUSE_LDADD@
|
||||
|
||||
AM_CPPFLAGS = $(GF_CPPFLAGS) \
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = server.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/nfs
|
||||
nfsrpclibdir = $(top_srcdir)/rpc/rpc-lib/src
|
||||
server_la_LDFLAGS = -module -avoidversion
|
||||
server_la_LDFLAGS = -module -avoid-version
|
||||
server_la_SOURCES = nfs.c nfs-common.c nfs-fops.c nfs-inodes.c \
|
||||
nfs-generics.c mount3.c nfs3-fh.c nfs3.c nfs3-helpers.c nlm4.c \
|
||||
nlmcbk_svc.c mount3udp_svc.c acl3.c
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = io-cache.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance
|
||||
|
||||
io_cache_la_LDFLAGS = -module -avoidversion
|
||||
io_cache_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
io_cache_la_SOURCES = io-cache.c page.c ioc-inode.c
|
||||
io_cache_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = io-threads.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance
|
||||
|
||||
io_threads_la_LDFLAGS = -module -avoidversion
|
||||
io_threads_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
io_threads_la_SOURCES = io-threads.c
|
||||
io_threads_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = md-cache.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance
|
||||
|
||||
md_cache_la_LDFLAGS = -module -avoidversion
|
||||
md_cache_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
md_cache_la_SOURCES = md-cache.c
|
||||
md_cache_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = open-behind.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance
|
||||
|
||||
open_behind_la_LDFLAGS = -module -avoidversion
|
||||
open_behind_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
open_behind_la_SOURCES = open-behind.c
|
||||
open_behind_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = quick-read.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance
|
||||
|
||||
quick_read_la_LDFLAGS = -module -avoidversion
|
||||
quick_read_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
quick_read_la_SOURCES = quick-read.c
|
||||
quick_read_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = read-ahead.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance
|
||||
|
||||
read_ahead_la_LDFLAGS = -module -avoidversion
|
||||
read_ahead_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
read_ahead_la_SOURCES = read-ahead.c page.c
|
||||
read_ahead_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = symlink-cache.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/testing/performance
|
||||
|
||||
symlink_cache_la_LDFLAGS = -module -avoidversion
|
||||
symlink_cache_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
symlink_cache_la_SOURCES = symlink-cache.c
|
||||
symlink_cache_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = write-behind.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance
|
||||
|
||||
write_behind_la_LDFLAGS = -module -avoidversion
|
||||
write_behind_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
write_behind_la_SOURCES = write-behind.c
|
||||
write_behind_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
auth_LTLIBRARIES = addr.la
|
||||
authdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/auth
|
||||
|
||||
addr_la_LDFLAGS = -module -avoidversion
|
||||
addr_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
addr_la_SOURCES = addr.c
|
||||
addr_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -1,7 +1,7 @@
|
||||
auth_LTLIBRARIES = login.la
|
||||
authdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/auth
|
||||
|
||||
login_la_LDFLAGS = -module -avoidversion
|
||||
login_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
login_la_SOURCES = login.c
|
||||
login_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
@ -2,7 +2,7 @@
|
||||
xlator_LTLIBRARIES = client.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/protocol
|
||||
|
||||
client_la_LDFLAGS = -module -avoidversion
|
||||
client_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
client_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
|
||||
$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \
|
||||
|
@ -1,7 +1,7 @@
|
||||
xlator_LTLIBRARIES = server.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/protocol
|
||||
|
||||
server_la_LDFLAGS = -module -avoidversion
|
||||
server_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
server_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
|
||||
$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \
|
||||
|
@ -3,7 +3,7 @@ if ENABLE_BD_XLATOR
|
||||
xlator_LTLIBRARIES = bd_map.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/storage
|
||||
|
||||
bd_map_la_LDFLAGS = -module -avoidversion
|
||||
bd_map_la_LDFLAGS = -module -avoid-version
|
||||
LIBBD = -llvm2app -lrt
|
||||
bd_map_la_SOURCES = bd_map.c bd_map_help.c
|
||||
bd_map_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(LIBBD)
|
||||
|
@ -2,7 +2,7 @@
|
||||
xlator_LTLIBRARIES = posix.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/storage
|
||||
|
||||
posix_la_LDFLAGS = -module -avoidversion
|
||||
posix_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
posix_la_SOURCES = posix.c posix-helpers.c posix-handle.c posix-aio.c
|
||||
posix_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(LIBAIO)
|
||||
|
@ -1,6 +1,6 @@
|
||||
xlator_LTLIBRARIES = posix-acl.la
|
||||
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/system
|
||||
posix_acl_la_LDFLAGS = -module -avoidversion
|
||||
posix_acl_la_LDFLAGS = -module -avoid-version
|
||||
posix_acl_la_SOURCES = posix-acl.c posix-acl-xattr.c
|
||||
posix_acl_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user