Skip to content

Commit 5736916

Browse files
committed
Only define SOABI_PLATFORM if it is set
1 parent 71ff855 commit 5736916

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

configure

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,9 @@ AS_CASE([$ac_sys_system],
12121212
[SOABI_PLATFORM=$PLATFORM_TRIPLET]
12131213
)
12141214

1215-
AC_DEFINE_UNQUOTED([SOABI_PLATFORM], ["${SOABI_PLATFORM}"], [Platform tag, used in binary module extension filenames.])
1215+
if test x$SOABI_PLATFORM != x; then
1216+
AC_DEFINE_UNQUOTED([SOABI_PLATFORM], ["${SOABI_PLATFORM}"], [Platform tag, used in binary module extension filenames.])
1217+
fi
12161218

12171219
if test x$MULTIARCH != x; then
12181220
MULTIARCH_CPPFLAGS="-DMULTIARCH=\\\"$MULTIARCH\\\""

0 commit comments

Comments
 (0)