Skip to content
This repository was archived by the owner on Jun 8, 2020. It is now read-only.

Stop doing linkhack linking, at least on Windows - #205

Merged
bors-servo merged 1 commit into
servo:masterfrom
vvuk:master
Nov 3, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
vvuk:master

Conversation

@vvuk

@vvuk vvuk commented Oct 27, 2015

Copy link
Copy Markdown
Contributor

Using cargo linking directives fixes a bunch of link issues on Windows here, including being able to do a static link of the azure lib.

Review on Reviewable

@metajack

Copy link
Copy Markdown
Contributor

Looks good to me, but is it intention to remove freetype and fontconfig and bz2 on windows? Are those no longer needed?


Reviewed 2 of 2 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.


Comments from the review on Reviewable.io

@vvuk

vvuk commented Oct 27, 2015

Copy link
Copy Markdown
Contributor Author

libazure itself doesn't seem to depend on freetype, fontconfig, or bz2 directly. We use those via skia only here. The only FT calls are in ScaledFontCairo, for example, which we don't use or build. I don't even think we need MOZ_ENABLE_FREETYPE in our build makefile from looking at what it triggers -- we don't need the freetype library init, since that's only used by ScaledFontCairo too.

@metajack

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown

📌 Commit 4edee0a has been approved by metajack

@bors-servo

Copy link
Copy Markdown

⌛ Testing commit 4edee0a with merge 9e9a7ae...

bors-servo pushed a commit that referenced this pull request Oct 27, 2015
Stop doing linkhack linking, at least on Windows

Using cargo linking directives fixes a bunch of link issues on Windows here, including being able to do a static link of the azure lib.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-azure/205)
<!-- Reviewable:end -->
@Ms2ger

Ms2ger commented Oct 28, 2015

Copy link
Copy Markdown
Contributor

@bors-servo retry force

@Ms2ger Ms2ger closed this Oct 28, 2015
@Ms2ger Ms2ger reopened this Oct 28, 2015
@Ms2ger

Ms2ger commented Oct 28, 2015

Copy link
Copy Markdown
Contributor

@bors-servo r=metajack

@bors-servo

Copy link
Copy Markdown

📌 Commit 4edee0a has been approved by metajack

@Ms2ger

Ms2ger commented Oct 28, 2015

Copy link
Copy Markdown
Contributor

@bors-servo force

@Ms2ger Ms2ger closed this Oct 28, 2015
@Ms2ger Ms2ger reopened this Oct 28, 2015
@Ms2ger

Ms2ger commented Oct 28, 2015

Copy link
Copy Markdown
Contributor

@bors-servo r=metajack force

@bors-servo

Copy link
Copy Markdown

⌛ Testing commit 4edee0a with merge b92d5a9...

bors-servo pushed a commit that referenced this pull request Oct 28, 2015
Stop doing linkhack linking, at least on Windows

Using cargo linking directives fixes a bunch of link issues on Windows here, including being able to do a static link of the azure lib.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-azure/205)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown

💔 Test failed - travis

@Ms2ger

Ms2ger commented Nov 3, 2015

Copy link
Copy Markdown
Contributor

@bors-servo retry

1 similar comment
@Ms2ger

Ms2ger commented Nov 3, 2015

Copy link
Copy Markdown
Contributor

@bors-servo retry

@bors-servo

Copy link
Copy Markdown

⌛ Testing commit 4edee0a with merge 1b19c52...

bors-servo pushed a commit that referenced this pull request Nov 3, 2015
Stop doing linkhack linking, at least on Windows

Using cargo linking directives fixes a bunch of link issues on Windows here, including being able to do a static link of the azure lib.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-azure/205)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown

☀️ Test successful - travis

@bors-servo
bors-servo merged commit 4edee0a into servo:master Nov 3, 2015
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.

4 participants