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

add option for -fPIC compiler flag when building a static library on Linux #71

Closed
nkowdley opened this issue Mar 8, 2018 · 1 comment · Fixed by #73
Closed

add option for -fPIC compiler flag when building a static library on Linux #71

nkowdley opened this issue Mar 8, 2018 · 1 comment · Fixed by #73
Labels
bug This issue is a bug.

Comments

@nkowdley
Copy link
Contributor

nkowdley commented Mar 8, 2018

Currently, I am trying to build a Shared Library which will link against a static version of this sdk.

I keep getting an error on using the -fpic compiler flag, exactly like this issue aws/aws-sdk-cpp#77.

Is there a reason why this hasn't been added as a CMake Option for this SDK? If there isn't, I can make a MR to add this in.

@vareddy-zz
Copy link
Contributor

HI @nkowdley,
Thank you for your interest in the AWS IoT SDK.
This is a valid fix. If you could make a pull request, we will test the changes internally and merge it after we are done.
Thanks!
Varun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants