mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Fix compilation of uuid-ossp
This module had a dependency on pgcrypto's md5.c that got removed by
b67b57a
. Instead of the code from pgcrypto, this code can just use the
new cryptohash routines for MD5 as a drop-in replacement, so let's just
do this switch. This has also the merit to simplify a bit the
compilation of uuid-ossp.
This requires --with-uuid to be reproduced, and I have used e2fs as a
way to reproduce the failure, then test this commit.
Per reports from buildfarm members longfin, florican and sifaka.
Discussion: https://postgr.es/m/X9GToVd3QmWeNvj8@paquier.xyz
This commit is contained in:
@ -921,10 +921,10 @@ fi
|
||||
|
||||
if test "$with_uuid" = bsd ; then
|
||||
AC_DEFINE([HAVE_UUID_BSD], 1, [Define to 1 if you have BSD UUID support.])
|
||||
UUID_EXTRA_OBJS="md5.o sha1.o"
|
||||
UUID_EXTRA_OBJS="sha1.o"
|
||||
elif test "$with_uuid" = e2fs ; then
|
||||
AC_DEFINE([HAVE_UUID_E2FS], 1, [Define to 1 if you have E2FS UUID support.])
|
||||
UUID_EXTRA_OBJS="md5.o sha1.o"
|
||||
UUID_EXTRA_OBJS="sha1.o"
|
||||
elif test "$with_uuid" = ossp ; then
|
||||
AC_DEFINE([HAVE_UUID_OSSP], 1, [Define to 1 if you have OSSP UUID support.])
|
||||
UUID_EXTRA_OBJS=""
|
||||
|
Reference in New Issue
Block a user