Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zlib link fix #4750

Merged
merged 3 commits into from
Nov 8, 2013
Merged

Zlib link fix #4750

merged 3 commits into from
Nov 8, 2013

Conversation

ArchRobison
Copy link
Contributor

Fix for issue #4742. The change puts -ljulia before $(JLDFLAGS) because the former uses symbols (e.g. compress2) from libz.a that are satisfied by the latter ($(JLDFLAGS) contains -lz).

Arch D. Robison added 3 commits October 21, 2013 15:07
Make Intel VTune Amplifier support conditional on USE_INTEL_JITEVENTS.
This is important for linkers (such as ld on Linux) that do not
scan a library listed earlier for definitions of symbols used
by a library listed later.
@StefanKarpinski
Copy link
Sponsor Member

Looks correct to me. cc: @staticfloat, @ViralBShah, @JeffBezanson – was the old order here intentional?

@staticfloat
Copy link
Sponsor Member

Seems fine to me, but I also feel like this might have been intentional at one point.

@vtjnash
Copy link
Sponsor Member

vtjnash commented Nov 8, 2013

LGTM. $(LDFLAGS) $(LIBS) is a more traditional order, but I don't think the linker cares

@JeffBezanson
Copy link
Sponsor Member

My guess is that originally JLDFLAGS only held flags and not library names, and at some point library names were added to it, but I'm not sure.

JeffBezanson added a commit that referenced this pull request Nov 8, 2013
@JeffBezanson JeffBezanson merged commit f6e29aa into JuliaLang:master Nov 8, 2013
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.

None yet

5 participants