projects
/
platform
/
upstream
/
cryptsetup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dac000e
)
Detect static uuid library if static build is requested.
author
Milan Broz
<gmazyland@gmail.com>
Sun, 9 Oct 2011 15:22:57 +0000
(15:22 +0000)
committer
Milan Broz
<gmazyland@gmail.com>
Sun, 9 Oct 2011 15:22:57 +0000
(15:22 +0000)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@627
36d66b0a
-2a48-0410-832c-
cd162a569da5
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
4aaeaa9
..
8f5e853
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-218,6
+218,11
@@
if test x$enable_static_cryptsetup = xyes; then
AC_CHECK_LIB(devmapper, dm_task_set_uuid,,
AC_MSG_ERROR([Cannot link with static device-mapper library.]))
+ dnl Try to detect uuid static library.
+ LIBS="$saved_LIBS -static"
+ AC_CHECK_LIB(uuid, uuid_generate,,
+ AC_MSG_ERROR([Cannot find static uuid library.]))
+
LIBS=$saved_LIBS
PKG_CONFIG=$saved_PKG_CONFIG
fi