Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4230c8a

Browse files
committed
fix(configure): Correctly detect visibility("hidden") support on Darwin
1 parent47d3ec2 commit4230c8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎configure.ac‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ if test "x$GCC" = "xyes"; then
279279
echo 'int __attribute__ ((visibility ("hidden"))) foo (void) { return 1 ; }' > conftest.c
280280
libffi_cv_hidden_visibility_attribute=no
281281
if AC_TRY_COMMAND(${CC-cc} -Werror -S conftest.c -o conftest.s 1>&AS_MESSAGE_LOG_FD); then
282-
ifgrep '\.hidden.*foo' conftest.s >/dev/null; then
282+
ifegrep '(\.hidden|\.private_extern).*foo' conftest.s >/dev/null; then
283283
libffi_cv_hidden_visibility_attribute=yes
284284
fi
285285
fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp