mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git
synced 2024-11-27 03:33:35 +08:00
lib: use ${libuuid_LIBS} instead of -luuid everywhere
Otherwise linking will fail if the library is in an uncommon location or has a non-standard name. Signed-off-by: Rolf Eike Beer <eb@emlix.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
1ceb06bfcc
commit
4b55c43828
@ -12,7 +12,7 @@ lib_LTLIBRARIES = libf2fs_format.la
|
||||
libf2fs_format_la_SOURCES = f2fs_format_main.c f2fs_format.c f2fs_format_utils.c
|
||||
libf2fs_format_la_CFLAGS = -DWITH_BLKDISCARD
|
||||
libf2fs_format_la_CPPFLAGS = -I$(top_srcdir)/include
|
||||
libf2fs_format_la_LDFLAGS = ${libblkid_LIBS} -luuid -L$(top_builddir)/lib -lf2fs \
|
||||
libf2fs_format_la_LDFLAGS = ${libblkid_LIBS} ${libuuid_LIBS} -L$(top_builddir)/lib -lf2fs \
|
||||
-version-info $(FMT_CURRENT):$(FMT_REVISION):$(FMT_AGE)
|
||||
|
||||
install-exec-hook:
|
||||
|
@ -10,7 +10,7 @@ parse_f2fs_SOURCES = f2fs_io_parse.c
|
||||
if LINUX
|
||||
sbin_PROGRAMS += f2fscrypt
|
||||
f2fscrypt_SOURCES = f2fscrypt.c sha512.c
|
||||
f2fscrypt_LDFLAGS = -luuid
|
||||
f2fscrypt_LDFLAGS = ${libuuid_LIBS}
|
||||
dist_man_MANS = f2fscrypt.8
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user