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

Fix broken "make" command #2220

Merged
merged 1 commit into from
Sep 11, 2017
Merged

Fix broken "make" command #2220

merged 1 commit into from
Sep 11, 2017

Conversation

SeanTAllen
Copy link
Member

My PR to introduce support for DragonFlyBSD added /usr/local/lib to the
linker search path. We assumed this would be harmless, however it was
not. Because /usr/local/lib was added to the path in a fashion where it
would appear before the local "build" directory then the following would
happen:

  • Run make
  • Get a linker failure if you'd previously installed ponyc

Whereas

  • Run make install
  • No linker error

The problem occured because the pony libraries in /usr/local/lib were
being used instead of those in build.

This PR moves the addition of /usr/local/lib to being AFTER build path.

Closes #2219

My PR to introduce support for DragonFlyBSD added /usr/local/lib to the
linker search path. We assumed this would be harmless, however it was
not. Because /usr/local/lib was added to the path in a fashion where it
would appear before the local "build" directory then the following would
happen:

- Run `make`
- Get a linker failure if you'd previously installed ponyc

Whereas

- Run `make` install
- No linker error

The problem occured because the pony libraries in /usr/local/lib were
being used instead of those in build.

This PR moves the addition of /usr/local/lib to being AFTER build path.

Closes #2219
@SeanTAllen SeanTAllen added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label Sep 7, 2017
@SeanTAllen
Copy link
Member Author

@aturley can you verify this fixes #2219 for you?

@aturley
Copy link
Member

aturley commented Sep 11, 2017

This worked for me.

@SeanTAllen SeanTAllen merged commit 97fce98 into master Sep 11, 2017
@SeanTAllen SeanTAllen deleted the issue-2219 branch September 11, 2017 18:41
ponylang-main added a commit that referenced this pull request Sep 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants