orc-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Korry Douglas <ko...@me.com>
Subject Building liborc - need position independent code
Date Tue, 15 Jan 2019 00:17:25 GMT
Hi all,  I am trying to build a shared library that links to liborc (the C++ API).  However,
the Makefiles are all set up to build .a files instead of .so files.

I’ve figured out how to modify the CMakeLists.txt file to add the -fPIC CFLAG (although
I don’t really like editing that file by hand).  However, there are many related libraries
that seem to be downloaded from various URL’s  and those libraries are not compiled with
-fPIC.

Any suggestions?  Thanks in advance.

            — Korry
Mime
View raw message