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

-fPIC #127

Open
smartnet-club opened this issue Dec 29, 2018 · 2 comments
Open

-fPIC #127

smartnet-club opened this issue Dec 29, 2018 · 2 comments

Comments

@smartnet-club
Copy link

Problem:
Uri/v1.0.1/lib/libnetwork-uri.a(uri.cpp.o): relocation R_X86_64_32 against .rodata.str1.8' can not be used when making a shared object; recompile with -fPIC

Solution:
set_property(TARGET network-uri PROPERTY POSITION_INDEPENDENT_CODE ON)

@glynos
Copy link
Member

glynos commented Jan 2, 2019

Thanks for the report. Would you be able to make a PR for this?

@ghost
Copy link

ghost commented Jan 3, 2019 via email

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

No branches or pull requests

2 participants