Skip to content

[mtouch] -lsqlite3 is a linker flag, not a file to be linked with, so treat it accordingly. Fixes #49220. - #1317

Merged
rolfbjarne merged 1 commit into
dotnet:cycle9from
rolfbjarne:mtouch-dont-forceload-sqlite-cycle9
Dec 8, 2016
Merged

[mtouch] -lsqlite3 is a linker flag, not a file to be linked with, so treat it accordingly. Fixes #49220.#1317
rolfbjarne merged 1 commit into
dotnet:cycle9from
rolfbjarne:mtouch-dont-forceload-sqlite-cycle9

Conversation

@rolfbjarne

Copy link
Copy Markdown
Member

-lsqlite3 is a linker flag, not a file to be linked with, so when
automatically determining that we need to pass -lsqlite3 we need to put it in
the right list of linker information.

Otherwise we may end up passing -force_load -lsqlite3 to the linker (if the
assembly's ForceLoad flag is set), which won't compile.

https://bugzilla.xamarin.com/show_bug.cgi?id=49220

… treat it accordingly. Fixes #49220.

-lsqlite3 is a linker flag, not a file to be linked with, so when
automatically determining that we need to pass -lsqlite3 we need to put it in
the right list of linker information.

Otherwise we may end up passing `-force_load -lsqlite3` to the linker (if the
assembly's ForceLoad flag is set), which won't compile.

https://bugzilla.xamarin.com/show_bug.cgi?id=49220
@rolfbjarne

Copy link
Copy Markdown
Member Author

This is a backport of PR #1313.

@monojenkins

Copy link
Copy Markdown
Contributor

Build failure

@rolfbjarne

Copy link
Copy Markdown
Member Author

Test failure is unrelated (monotouch-test failed to build due to an unrelated issue, which will be fixed with PR #1321).

@rolfbjarne
rolfbjarne merged commit 7a60602 into dotnet:cycle9 Dec 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants