Skip to content

Commit

Permalink
build: unbreak make LIBS="-lsomething"
Browse files Browse the repository at this point in the history
Stop trampling on user-defined variables.
Move detected required libraries to their own specific variables.
Another benefit is that components which do not need one or more of
(-lcrypto, -lpthread, -lrt) are not forcibly linked to them.

./configure CFLAGS="-O0 -ggdb3 -fsanitize=address,undefined" &&
make -j16 LIBS="-lasan -lubsan"

Signed-off-by: Jan Engelhardt <[email protected]>
  • Loading branch information
jengelh committed Jul 5, 2023
1 parent 4a99c69 commit a9ddcd9
Show file tree
Hide file tree
Showing 28 changed files with 46 additions and 42 deletions.
3 changes: 1 addition & 2 deletions api/examples/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
EXTRA_PROGRAMS = glfsxmp
glfsxmp_SOURCES = glfsxmp.c
glfsxmp_CFLAGS = $(GLFS_CFLAGS) -Wall
glfsxmp_LDADD = $(GLFS_LIBS) -lrt

glfsxmp_LDADD = $(GLFS_LIBS) $(rt_LIBS)
29 changes: 14 additions & 15 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -408,10 +408,6 @@ if test x$cross_compiling != xyes; then
fi
fi

dnl On some distributions '-ldl' isn't automatically added to LIBS
AC_CHECK_LIB([dl], [dlopen], [LIB_DL=-ldl])
AC_SUBST(LIB_DL)

AC_ARG_ENABLE([privport_tracking],
AS_HELP_STRING([--disable-privport_tracking],[Disable internal tracking of privileged ports.]))
TRACK_PRIVPORTS="yes"
Expand Down Expand Up @@ -574,13 +570,20 @@ fi

AC_CHECK_TOOL([LD],[ld])

AC_CHECK_LIB([crypto], [MD5], , AC_MSG_ERROR([OpenSSL crypto library is required to build glusterfs]))

AC_CHECK_LIB([pthread], [pthread_mutex_init], , AC_MSG_ERROR([Posix threads library is required to build glusterfs]))

AC_CHECK_FUNC([dlopen], [has_dlopen=yes], AC_CHECK_LIB([dl], [dlopen], , AC_MSG_ERROR([Dynamic linking library required to build glusterfs])))

AC_CHECK_LIB([intl], [gettext])
system_LIBS="$LIBS"
AC_SEARCH_LIBS([SHA256], [crypto], [crypto_LIBS="-lcrypto"; LIBS="$system_LIBS"])
AC_SUBST([crypto_LIBS])
AC_SEARCH_LIBS([pthread_mutex_init], [pthread], [pthread_LIBS="-lpthread"; LIBS="$system_LIBS"],
[AC_MSG_ERROR([Posix threads library is required to build glusterfs])])
AC_SUBST([pthread_LIBS])
AC_SEARCH_LIBS([dlopen], [dl], [dl_LIBS="-ldl"; LIBS="$system_LIBS"],
[AC_MSG_ERROR([Dynamic linking library required to build glusterfs])])
AC_SUBST([dl_LIBS])
AC_SEARCH_LIBS([clock_gettime], [rt], [rt_LIBS="-lrt"; LIBS="$system_LIBS"],
[AC_MSG_WARN([System doesn't have monotonic clock using contrib])])
AC_SUBST([rt_LIBS])
AC_SEARCH_LIBS([gettext], [intl], [intl_LIBS="-lintl"; LIBS="$system_LIBS"])
AC_SUBST([intl_LIBS])

AC_CHECK_HEADERS([sys/xattr.h])

Expand Down Expand Up @@ -1090,10 +1093,6 @@ fi
AC_SUBST(HAVE_FUTIMENS)
AC_SUBST(HAVE_FUTIMES)

dnl check for Monotonic clock
AC_CHECK_LIB([rt], [clock_gettime], ,
AC_MSG_WARN([System doesn't have monotonic clock using contrib]))

dnl check for argp, FreeBSD has the header in /usr/local/include
case $host_os in
*freebsd*)
Expand Down
1 change: 1 addition & 0 deletions extras/benchmarking/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
benchmarkingdir = $(docdir)/benchmarking

benchmarking_DATA = rdd.c glfs-bm.c README launch-script.sh local-script.sh
benchmarking_LDADD = $(pthread_LIBS)

EXTRA_DIST = rdd.c glfs-bm.c README launch-script.sh local-script.sh

Expand Down
2 changes: 1 addition & 1 deletion glusterfsd/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ endif
glusterfsd_SOURCES = glusterfsd.c glusterfsd-mgmt.c
glusterfsd_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \
$(top_builddir)/rpc/xdr/src/libgfxdr.la $(GF_LDADD) $(LIB_DL)
$(top_builddir)/rpc/xdr/src/libgfxdr.la $(GF_LDADD) $(dl_LIBS) $(pthread_LIBS)
glusterfsd_LDFLAGS = $(GF_LDFLAGS)

gf_attach_SOURCES = gf_attach.c
Expand Down
3 changes: 2 additions & 1 deletion libglusterfs/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ if !HAVE_BACKTRACE
libglusterfs_la_CPPFLAGS += -I$(CONTRIBDIR)/libexecinfo
endif

libglusterfs_la_LIBADD = $(ZLIB_LIBS) $(MATH_LIB) $(UUID_LIBS) $(LIB_DL) \
libglusterfs_la_LIBADD = $(ZLIB_LIBS) $(MATH_LIB) $(UUID_LIBS) \
$(dl_LIBS) $(pthread_LIBS) $(rt_LIBS) \
$(URCU_LIBS) $(URCU_CDS_LIBS)
libglusterfs_la_LDFLAGS = -version-info $(LIBGLUSTERFS_LT_VERSION) $(GF_LDFLAGS) \
-export-symbols $(top_srcdir)/libglusterfs/src/libglusterfs.sym
Expand Down
2 changes: 1 addition & 1 deletion rpc/rpc-lib/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ libgfrpc_la_SOURCES = auth-unix.c rpcsvc-auth.c rpcsvc.c auth-null.c \
EXTRA_DIST = libgfrpc.sym

libgfrpc_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
$(top_builddir)/rpc/xdr/src/libgfxdr.la
$(top_builddir)/rpc/xdr/src/libgfxdr.la $(pthread_LIBS)
libgfrpc_la_LDFLAGS = -version-info $(LIBGFRPC_LT_VERSION) $(GF_LDFLAGS) \
-export-symbols $(top_srcdir)/rpc/rpc-lib/src/libgfrpc.sym

Expand Down
2 changes: 1 addition & 1 deletion rpc/rpc-transport/socket/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ socket_la_SOURCES = socket.c name.c
socket_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
$(top_builddir)/rpc/xdr/src/libgfxdr.la \
$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \
-lssl
$(crypto_LIBS) $(pthread_LIBS)

AM_CPPFLAGS = $(GF_CPPFLAGS) \
-I$(top_srcdir)/libglusterfs/src \
Expand Down
2 changes: 1 addition & 1 deletion tools/gfind_missing_files/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ gfindmissingfiles_PROGRAMS = gcrawler
endif

gcrawler_SOURCES = gcrawler.c
gcrawler_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
gcrawler_LDADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(pthread_LIBS)
gcrawler_LDFLAGS = $(GF_LDFLAGS)

AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src
Expand Down
2 changes: 1 addition & 1 deletion xlators/cluster/afr/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ AFR_SELFHEAL_SOURCES = afr-self-heal-common.c afr-self-heal-data.c \

afr_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS)
afr_la_SOURCES = $(afr_common_source) $(AFR_SELFHEAL_SOURCES) afr.c
afr_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
afr_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(pthread_LIBS)

noinst_HEADERS = afr.h afr-transaction.h afr-inode-write.h afr-inode-read.h \
afr-dir-read.h afr-dir-write.h afr-self-heal.h afr-mem-types.h \
Expand Down
3 changes: 2 additions & 1 deletion xlators/features/bit-rot/src/bitd/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src \
bit_rot_la_SOURCES = bit-rot.c bit-rot-scrub.c bit-rot-ssm.c \
bit-rot-scrub-status.c
bit_rot_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
$(top_builddir)/xlators/features/changelog/lib/src/libgfchangelog.la
$(top_builddir)/xlators/features/changelog/lib/src/libgfchangelog.la \
$(crypto_LIBS) $(pthread_LIBS)

noinst_HEADERS = bit-rot.h bit-rot-scrub.h bit-rot-bitd-messages.h bit-rot-ssm.h \
bit-rot-scrub-status.h
Expand Down
2 changes: 1 addition & 1 deletion xlators/features/changelog/lib/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ libgfchangelog_la_CPPFLAGS = $(GF_CPPFLAGS) -D__USE_FILE_OFFSET64 -D__USE_LARGEF

libgfchangelog_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
$(top_builddir)/rpc/xdr/src/libgfxdr.la \
$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la
$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la $(pthread_LIBS)

libgfchangelog_la_LDFLAGS = $(GF_LDFLAGS) \
-version-info $(LIBGFCHANGELOG_LT_VERSION) \
Expand Down
2 changes: 1 addition & 1 deletion xlators/features/changelog/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ changelog_la_SOURCES = changelog.c changelog-rt.c changelog-helpers.c \
changelog-rpc-common.c changelog-ev-handle.c
changelog_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
$(top_builddir)/rpc/xdr/src/libgfxdr.la \
$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la
$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la $(pthread_LIBS)

AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src \
-I$(top_srcdir)/rpc/xdr/src -I$(top_builddir)/rpc/xdr/src \
Expand Down
2 changes: 1 addition & 1 deletion xlators/features/cloudsync/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ BUILT_SOURCES = cloudsync-autogen-fops.h

cloudsync_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS)

cloudsync_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(LIB_DL)
cloudsync_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(dl_LIBS)

AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src -I$(top_srcdir)/rpc/xdr/src -I$(top_builddir)/rpc/xdr/src \
-DCS_PLUGINDIR=\"$(libdir)/glusterfs/$(PACKAGE_VERSION)/cloudsync-plugins\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ csp_LTLIBRARIES = cloudsyncs3.la
cspdir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/cloudsync-plugins

cloudsyncs3_la_SOURCES = libcloudsyncs3.c $(top_srcdir)/xlators/features/cloudsync/src/cloudsync-common.c
cloudsyncs3_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -lcurl -lcrypto
cloudsyncs3_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -lcurl $(crypto_LIBS)
cloudsyncs3_la_LDFLAGS = -module -export-symbols $(top_srcdir)/xlators/features/cloudsync/src/cloudsync-plugins/src/cloudsyncs3/src/libcloudsyncs3.sym $(GF_XLATOR_LDFLAGS)
AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src -I$(top_srcdir)/rpc/xdr/src -I$(top_builddir)/rpc/xdr/src -I$(top_srcdir)/xlators/features/cloudsync/src
noinst_HEADERS = libcloudsyncs3.h libcloudsyncs3-mem-types.h
Expand Down
2 changes: 1 addition & 1 deletion xlators/features/index/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features
index_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS)

index_la_SOURCES = index.c
index_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
index_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(pthread_LIBS)

noinst_HEADERS = index.h index-mem-types.h index-messages.h

Expand Down
2 changes: 1 addition & 1 deletion xlators/features/leases/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ leases_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS)

leases_la_SOURCES = leases.c leases-internal.c

leases_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
leases_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(pthread_LIBS)

noinst_HEADERS = leases.h leases-mem-types.h leases-messages.h

Expand Down
2 changes: 1 addition & 1 deletion xlators/features/locks/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ locks_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS)
locks_la_SOURCES = common.c posix.c entrylk.c inodelk.c reservelk.c \
clear.c

locks_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
locks_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(pthread_LIBS)

noinst_HEADERS = locks.h common.h locks-mem-types.h clear.h pl-messages.h

Expand Down
2 changes: 1 addition & 1 deletion xlators/features/quota/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ quotad_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS)
quota_la_SOURCES = quota.c quota-enforcer-client.c
quota_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
$(top_builddir)/rpc/xdr/src/libgfxdr.la \
$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la
$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la $(pthread_LIBS)

quotad_la_SOURCES = quotad.c quotad-helpers.c quotad-aggregator.c
quotad_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
Expand Down
2 changes: 1 addition & 1 deletion xlators/features/shard/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ shard_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS)

shard_la_SOURCES = shard.c

shard_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
shard_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(pthread_LIBS)

noinst_HEADERS = shard.h shard-mem-types.h shard-messages.h

Expand Down
3 changes: 2 additions & 1 deletion xlators/mgmt/glusterd/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ glusterd_la_SOURCES = glusterd.c glusterd-handler.c glusterd-sm.c \
glusterd_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
$(top_builddir)/rpc/xdr/src/libgfxdr.la \
$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \
$(XML_LIBS) -lcrypto $(URCU_LIBS) $(URCU_CDS_LIBS) $(LIB_DL) $(GF_XLATOR_MGNT_LIBADD)
$(XML_LIBS) $(crypto_LIBS) $(pthread_LIBS) $(URCU_LIBS) $(URCU_CDS_LIBS) \
$(dl_LIBS) $(GF_XLATOR_MGNT_LIBADD)

noinst_HEADERS = glusterd.h glusterd-utils.h glusterd-op-sm.h \
glusterd-sm.h glusterd-store.h glusterd-mem-types.h \
Expand Down
3 changes: 2 additions & 1 deletion xlators/mount/fuse/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ fuse_la_SOURCES = fuse-helpers.c fuse-resolve.c fuse-bridge.c \
$(CONTRIBDIR)/fuse-lib/misc.c $(mount_source)

fuse_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS)
fuse_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(GF_LDADD) $(GF_FUSE_LDADD)
fuse_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
$(GF_LDADD) $(GF_FUSE_LDADD) $(pthread_LIBS)

AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src \
-I$(top_srcdir)/rpc/xdr/src -I$(top_builddir)/rpc/xdr/src \
Expand Down
2 changes: 1 addition & 1 deletion xlators/performance/io-cache/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance
io_cache_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS)

io_cache_la_SOURCES = io-cache.c page.c ioc-inode.c
io_cache_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
io_cache_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(pthread_LIBS)

noinst_HEADERS = io-cache.h ioc-mem-types.h io-cache-messages.h

Expand Down
3 changes: 2 additions & 1 deletion xlators/performance/io-threads/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance
io_threads_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS)

io_threads_la_SOURCES = io-threads.c
io_threads_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
io_threads_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
$(pthread_LIBS) $(rt_LIBS)

noinst_HEADERS = io-threads.h iot-mem-types.h io-threads-messages.h

Expand Down
2 changes: 1 addition & 1 deletion xlators/performance/md-cache/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance
md_cache_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS)

md_cache_la_SOURCES = md-cache.c
md_cache_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
md_cache_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(pthread_LIBS)

noinst_HEADERS = md-cache-mem-types.h md-cache-messages.h

Expand Down
2 changes: 1 addition & 1 deletion xlators/performance/read-ahead/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance
read_ahead_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS)

read_ahead_la_SOURCES = read-ahead.c page.c
read_ahead_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la
read_ahead_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(pthread_LIBS)

noinst_HEADERS = read-ahead.h read-ahead-mem-types.h read-ahead-messages.h

Expand Down
2 changes: 1 addition & 1 deletion xlators/protocol/client/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ client_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS)

client_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \
$(top_builddir)/rpc/xdr/src/libgfxdr.la
$(top_builddir)/rpc/xdr/src/libgfxdr.la $(pthread_LIBS)

client_la_SOURCES = client.c client-helpers.c client-rpc-fops_v2.c \
client-handshake.c client-callback.c client-common.c
Expand Down
2 changes: 1 addition & 1 deletion xlators/protocol/server/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ server_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS)

server_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \
$(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \
$(top_builddir)/rpc/xdr/src/libgfxdr.la $(LIB_DL)
$(top_builddir)/rpc/xdr/src/libgfxdr.la $(dl_LIBS) $(pthread_LIBS)

server_la_SOURCES = server.c server-resolve.c server-helpers.c \
server-handshake.c authenticate.c server-common.c \
Expand Down
2 changes: 1 addition & 1 deletion xlators/storage/posix/src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ posix_la_SOURCES = posix.c posix-helpers.c posix-handle.c posix-aio.c \
posix-gfid-path.c posix-entry-ops.c posix-inode-fd-ops.c \
posix-common.c posix-metadata.c posix-io-uring.c
posix_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(LIBAIO) \
$(LIBURING) $(ACL_LIBS)
$(LIBURING) $(ACL_LIBS) $(pthread_LIBS)

noinst_HEADERS = posix.h posix-mem-types.h posix-handle.h posix-aio.h \
posix-messages.h posix-gfid-path.h posix-inode-handle.h \
Expand Down

0 comments on commit a9ddcd9

Please sign in to comment.