Skip to content

-fPIC #127

Open
Open
-fPIC#127
@smartnet-club

Description

@smartnet-club

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions