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

gpu static link - handle multiple entries of the same static library #3

Merged
merged 2 commits into from
Mar 29, 2016

Conversation

scchan
Copy link
Collaborator

@scchan scchan commented Mar 28, 2016

gpu static link: handle the case where the same library was specified multiple time on the command line

LIB_SEARCH_PATHS+=( ${ARG:2} )
else
LIB_SEARCH_PATHS+=( $PWD"/"${ARG:2} )
REAL_PATH=$(realpath ${ARG:2})
Copy link
Collaborator

Choose a reason for hiding this comment

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

realpath is installed on Ubuntu by default. To prevent yet another external dependency, could we try get the canonical path via:

REAL_PATH=$(readlink -f ${ARG:2})

@scchan
Copy link
Collaborator Author

scchan commented Mar 29, 2016

replaced realpath with readlink...

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