-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Hi,
I'm using the SDK static libraries for working with s3 (aws-sdk-cpp-[core,s3,transfer]). I wanted to create a DSO which statically link with these static libraries (embedding them within the DSO). However when building it, i got a compiler error that the static libraries were built with no PIC support.
I edited the relevant CMakeList.txt files adding the line
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "-fPIC")
I think it worth adding this to the static libraries (at least as optional configuration).
Thanks.
Eliyahu
Metadata
Metadata
Assignees
Labels
No labels