-
Notifications
You must be signed in to change notification settings - Fork 68
Description
Hello,
First, thank you for maintaining the gozstd library—it has been a critical dependency in our projects.
We’ve encountered an issue related to the lack of the -fPIC flag when compiling the .a files in the library. Specifically, this absence causes a compilation conflict when gozstd is used alongside another internal library in our company. This conflict results in build failures, and unfortunately, we are unable to ask all our users to manually replace the gozstd dependency.
Adding the -fPIC flag during compilation should resolve this issue. From our testing, enabling -fPIC does not introduce any compatibility issues with existing use cases.
Would it be possible to include the -fPIC flag by default in the compilation process for .a files? This change would significantly improve the library’s usability in scenarios like ours and prevent downstream conflicts.
Thank you for considering this request. Please let us know if you need any additional details or assistance to implement this change.