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

More NaCl related fixes #815

Merged
merged 2 commits into from
Mar 23, 2014
Merged

More NaCl related fixes #815

merged 2 commits into from
Mar 23, 2014

Conversation

jin-eld
Copy link
Contributor

@jin-eld jin-eld commented Mar 23, 2014

  • fix shared/static configuration which was still wrong
  • hopefully fix linking issues on *BSD systems

Make sure the shared lib build is really disabled when compiling vs.
NaCl:

moved settings before libtool initialization
fixed parameter name
From what I see there is a difference between *BSD and Linux when
linking vs. toxcore which has been bulit vs. the NaCl library:

on Linux it only links if NaCl's object files (i.e. randombytes.o) is
present in the linker options, however on *BSD systems this will cause a
linking error, see:
JFreegman/toxic#31 (comment)

This commit makes sure that we do not add the NaCl object files to our
pkg-config settings on *BSD, but do add them on Linux.
irungentoo added a commit that referenced this pull request Mar 23, 2014
@irungentoo irungentoo merged commit 3b841b0 into irungentoo:master Mar 23, 2014
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