merlimat opened a new pull request #3488: Build static lib with bundled 
dependencies
URL: https://github.com/apache/pulsar/pull/3488
 
 
   ### Motivation
   
   Currently the `libpulsar.a` that is shipped in the Deb/RPM packages doesn't 
include all the required dependencies (unlike the `libpulsar.so`). 
   Also, in Deb package the archive is being stripped and that causes the 
object index to be dropped, rendering the archive unusable.
   
   ### Modifications
   
    * Do not strip `libpulsar.a`
    * Install a `libpular.a` that is the merged archive containing all the 
required dependencies
   
   ### Result
   
   On Linux it will be possible to compile a static binary with 
   ```
   g++ test.cpp -o test libpulsar.a -lrt -ldl -pthread
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to