From f96eb48d9caa43a3ef275fa33b26e938d6f1d705 Mon Sep 17 00:00:00 2001 From: Alexey Shabalin Date: Wed, 13 May 2020 05:43:46 +0300 Subject: [PATCH] Fix linking. Fixed verify-elf: ERROR: ./usr/lib64/liberasurecode.so.1.6.1: undefined symbol: dlopen verify-elf: ERROR: ./usr/lib64/liberasurecode.so.1.6.1: undefined symbol: dlclose verify-elf: ERROR: ./usr/lib64/liberasurecode.so.1.6.1: undefined symbol: dlerror verify-elf: ERROR: ./usr/lib64/liberasurecode.so.1.6.1: undefined symbol: dlsym --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 693809e..c185503 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -37,7 +37,7 @@ liberasurecode_la_LIBADD = \ builtin/null_code/libnullcode.la \ builtin/xor_codes/libXorcode.la \ builtin/rs_vand/liberasurecode_rs_vand.la \ - -lpthread -lm -lz @GCOV_LDFLAGS@ + -lpthread -lm -lz -ldl @GCOV_LDFLAGS@ # Version format (C - A).(A).(R) for C:R:A input liberasurecode_la_LDFLAGS = -rpath '$(libdir)' -version-info @LIBERASURECODE_VERSION_INFO@ -- libgit2 0.28.4