Skip to content

Build libjpeg with -DBUILD_SHARED_LIBS=OFF in test code. NFC. - #8363

Merged
sbc100 merged 1 commit into
incomingfrom
disable_shared_build_libjpeg
Mar 29, 2019
Merged

Build libjpeg with -DBUILD_SHARED_LIBS=OFF in test code. NFC.#8363
sbc100 merged 1 commit into
incomingfrom
disable_shared_build_libjpeg

Conversation

@sbc100

@sbc100 sbc100 commented Mar 28, 2019

Copy link
Copy Markdown
Collaborator

This fixes the breakage with latest llvm upstream that honors -fPIC.

This would also be fixed by the more intrusive change in #8362.

This fixes the breakage with latest llvm upstream that honors `-fPIC`.
@sbc100
sbc100 requested a review from kripken March 28, 2019 21:01

@kripken kripken left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This seems fine as a workaround, but I think we should focus on getting it to work as opposed to getting the test to pass, since this is common in real-world code.

@sbc100

sbc100 commented Mar 29, 2019

Copy link
Copy Markdown
Collaborator Author

I think the real fix is #8362, at least until we really do support building and using shared libraries.

@sbc100
sbc100 merged commit 195eac6 into incoming Mar 29, 2019
@sbc100
sbc100 deleted the disable_shared_build_libjpeg branch March 29, 2019 05:28
VirtualTim pushed a commit to VirtualTim/emscripten that referenced this pull request May 21, 2019
…pten-core#8363)

This fixes the breakage with latest llvm upstream that honors `-fPIC`.
VirtualTim added a commit to VirtualTim/emscripten that referenced this pull request May 23, 2019
VirtualTim added a commit to VirtualTim/emscripten that referenced this pull request May 23, 2019
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.

2 participants