mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-04-11 03:32:39 +00:00
configure: Detect Solaris libc in an OpenIndiana/illumos compatible way
This commit is contained in:
parent
c85aad9cb2
commit
5db4e88ecd
2
configure
vendored
2
configure
vendored
@ -3437,7 +3437,7 @@ probe_libc(){
|
|||||||
eval ${pfx}libc_type=klibc
|
eval ${pfx}libc_type=klibc
|
||||||
elif check_${pfx}cpp_condition sys/cdefs.h "defined __BIONIC__"; then
|
elif check_${pfx}cpp_condition sys/cdefs.h "defined __BIONIC__"; then
|
||||||
eval ${pfx}libc_type=bionic
|
eval ${pfx}libc_type=bionic
|
||||||
elif check_${pfx}cpp_condition sys/brand.h "defined SOLARIS_BRAND_NAME"; then
|
elif check_${pfx}cpp_condition sys/brand.h "defined LABELED_BRAND_NAME"; then
|
||||||
eval ${pfx}libc_type=solaris
|
eval ${pfx}libc_type=solaris
|
||||||
add_${pfx}cppflags -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
|
add_${pfx}cppflags -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user