Skip to content
Snippets Groups Projects
Commit e6388e0f authored by Daniel Salzman's avatar Daniel Salzman
Browse files

configure: require shared libraries for a shared module

parent 4cfed39d
Branches
Tags
No related merge requests found
Pipeline #27268 passed with stages
in 27 minutes and 13 seconds
......@@ -22,7 +22,9 @@ AC_DEFUN([KNOT_MODULE],
[shared], [SHARED_MODULE_$1=yes
shared_modules="${shared_modules}$1 "
AS_IF([test "$3" = "non-shareable"],
[AC_MSG_ERROR([Module $1 cannot be shared])])],
[AC_MSG_ERROR([Module $1 cannot be shared])])
AS_IF([test "$enable_shared" != "yes"],
[AC_MSG_ERROR([Shared module $1 requires shared libraries])])],
[no], [],
[*], [AC_MSG_ERROR([Invalid value '$module' for --with-module-$1])]
)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment