Skip to content

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

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

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

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
@monojenkins

Copy link
Copy Markdown
Contributor

Build failure

@rolfbjarne

Copy link
Copy Markdown
Member Author

Test failure is unrelated (mmp timeout filed as bug #47736).

@rolfbjarne

Copy link
Copy Markdown
Member Author

C9 PR: #1317

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