mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-28 05:40:23 -04:00
configure: do allow to use --with-pic for static build
Closes: https://github.com/alsa-project/alsa-lib/issues/411 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
073dc7577a
commit
a3865b2439
1 changed files with 9 additions and 0 deletions
|
|
@ -71,6 +71,15 @@ EOF
|
|||
exit 1
|
||||
fi
|
||||
|
||||
dnl Do not use --with-pic for shared libraries (consider to use PIE)
|
||||
if test "$enable_static" = "yes" -a "$pic_mode" = "yes"; then
|
||||
cat <<EOF
|
||||
Please, do not enable PIC (--with-pic) for static library. Consider
|
||||
to remove this option or use PIE flags.
|
||||
EOF
|
||||
exit 1
|
||||
fi
|
||||
|
||||
dnl ALSA configuration directory
|
||||
AC_ARG_WITH(configdir,
|
||||
AS_HELP_STRING([--with-configdir=dir],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue