Skip to content

Conversation

@grendello
Copy link
Contributor

@grendello grendello commented May 24, 2018

Adds two components that are required by libmonodroid but not provided with the
packaged mingw on Linux (they are part of the mxe build on macOS):

  • dlfcn-win32: implementation of dlopen + friends for Windows
  • mman-win32: implementation of mman.h (mmap and friends) for Windows

This allows to perform a full build of Xamarin.Android with cross build for Windows on Linux

@grendello grendello added the do-not-merge PR should not be merged. label May 24, 2018
@grendello grendello requested a review from jonpryor as a code owner May 24, 2018 19:15
@grendello grendello removed the do-not-merge PR should not be merged. label May 25, 2018
@grendello grendello changed the title [DO NOT MERGE][Linux] Add submodules to cross-build libmonodroid for Windows [Linux] Add submodules to cross-build libmonodroid for Windows May 25, 2018
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this file should go into build-tools, not src. The outputs of this project will not be redistributed; instead, they'll be used in order to build e.g. libmono, which is redistributed.

<AutoProvision Condition=" '$(AutoProvision)' == '' ">False</AutoProvision>
<AutoProvisionUsesSudo Condition=" '$(AutoProvisionUsesSudo)' == '' ">False</AutoProvisionUsesSudo>
<XAInstallPrefix Condition=" '$(XAInstallPrefix)' == '' ">$(MSBuildThisFileDirectory)\bin\$(Configuration)\lib\xamarin.android\</XAInstallPrefix>
<LinuxMingwDependenciesRootDirectory Condition=" '$(LinuxMingwDependenciesRootDirectory)' == '' ">$(MSBuildThisFileDirectory)\bin\$(Configuration)\linux-mingw-deps</LinuxMingwDependenciesRootDirectory>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe these outputs should go into bin/Build$(Configuration), not bin/$(Configuration).

Adds two components that are required by libmonodroid but not provided with the
packaged mingw on Linux (they are part of the mxe build on macOS):

  * dlfcn-win32: implementation of dlopen + friends for Windows
  * mman-win32: implementation of mman.h (mmap and friends) for Windows

This allows to perform a full build of Xamarin.Android with cross build for
Windows on Linux
@grendello grendello force-pushed the linux-mingw-build branch from 4d09726 to 2ee99a7 Compare May 25, 2018 20:00
@grendello grendello added do-not-merge PR should not be merged. and removed do-not-merge PR should not be merged. labels May 25, 2018
We shouldn't intermix tabs & spaces in XML files.
@jonpryor jonpryor merged commit d8fdbcf into dotnet:master May 26, 2018
@grendello grendello deleted the linux-mingw-build branch May 26, 2018 15:41
@github-actions github-actions bot locked and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants