mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 20:57:12 -05:00
0a41123f01
* gnu/packages/antivirus.scm: New file. * gnu/packages/patches/clamav-system-tomsfastmath.patch, gnu/packages/patches/clamav-config-llvm-libs.patch: New files. * gnu/local.mk (GNU_SYSTEM_MODULES): Add new module. (dist_patch_DATA): Add patches. Co-authored-by: Christopher Baines <mail@cbaines.net>
14 lines
649 B
Diff
14 lines
649 B
Diff
Our llvm does not contain a single top-level library, so consult llvm-config
|
|
for the libraries that need to be linked against.
|
|
|
|
--- clamav-0.100.2/libclamav/c++/configure.ac 2018-09-19 14:29:07.000000000 -0500
|
|
+++ clamav-0.100.2/libclamav/c++/configure.ac 2018-10-06 21:45:09.377249158 -0500
|
|
@@ -105,7 +105,7 @@
|
|
|
|
if test "x$llvm_linking" = "xdynamic"; then
|
|
AC_SUBST(LLVMCONFIG_LDFLAGS, [`$llvmconfig --ldflags`])
|
|
- AC_SUBST(LLVMCONFIG_LIBS, [-lLLVM-$llvmver])
|
|
+ AC_SUBST(LLVMCONFIG_LIBS, [`$llvmconfig --libs $llvmcomp`])
|
|
AC_SUBST(LLVMCONFIG_LIBFILES, [])
|
|
else
|
|
if test $llvmver_test -ge 350; then
|