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

build: improve p11-kit-proxy symlink handling #32

Merged
merged 1 commit into from
Jan 9, 2017

Conversation

novel
Copy link
Contributor

@novel novel commented Jan 6, 2017

  • Current command for creation of the p11-kit-proxy symlink
    uses shell brace expansion that isn't supported by all
    the shells (e.g. FreeBSD's /bin/sh does not support that).
    Replace it with the old-fashioned 'for' loop
  • Match extension of the source and the target, i.e. so links
    to so, dylib links to dylib (previously dylib linked to so)
  • Add an uninstall-local target to clean up the symlink

PS Apparently, there was an attempt to avoid using of the .dylib extension on macOS: 6132376. But it doesn't seem to work.

 - Current command for creation of the p11-kit-proxy symlink
   uses shell brace expansion that isn't supported by all
   the shells (e.g. FreeBSD's /bin/sh does not support that).
   Replace it with the old-fashioned 'for' loop
 - Match extension of the source and the target, i.e. so links
   to so, dylib links to dylib (previously dylib linked to so)
 - Add an uninstall-local target to clean up the symlink
Copy link
Member

@ueno ueno left a comment

Choose a reason for hiding this comment

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

Thanks, looks good to me.

@ueno ueno added the bug label Jan 9, 2017
@ueno ueno modified the milestone: 0.23.3 Jan 9, 2017
@ueno ueno merged commit 287ae8c into p11-glue:master Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants