Skip to content

Commit

Permalink
Fix lack of symbols in System.Native support lib on AIX
Browse files Browse the repository at this point in the history
I forgot to fix Makefile.am to check for AIX and include the unix
sources if so. Actually fixes mono#11895.
  • Loading branch information
NattyNarwhal committed Dec 3, 2018
1 parent 3f3c217 commit 693f6ef
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion mono/native/Makefile.am
Expand Up @@ -48,6 +48,8 @@ ios_sources = \

linux_sources = $(unix_sources)

aix_sources = $(unix_sources)

unix_sources = \
pal-icalls.h \
pal-icalls.c \
Expand All @@ -72,7 +74,7 @@ macos_sources += $(gss_sources)
ios_sources += $(gss_sources)
endif

EXTRA_libmono_native_la_SOURCES = $(common_sources) $(macos_sources) $(ios_sources) $(linux_sources) $(unix_sources) $(gss_sources)
EXTRA_libmono_native_la_SOURCES = $(common_sources) $(macos_sources) $(ios_sources) $(linux_sources) $(aix_sources) $(unix_sources) $(gss_sources)

if MONO_NATIVE_PLATFORM_MACOS
platform_sources = $(macos_sources)
Expand All @@ -82,6 +84,10 @@ platform_sources = $(ios_sources)
else
if MONO_NATIVE_PLATFORM_LINUX
platform_sources = $(linux_sources)
else
if MONO_NATIVE_PLATFORM_AIX
platform_sources = $(aix_sources)
endif
endif
endif
endif
Expand Down

0 comments on commit 693f6ef

Please sign in to comment.