Project

General

Profile

Actions

Bug #5210

closed

boost_program_options should not appear in libndn-cxx.pc

Added by Davide Pesavento over 2 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Build
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

$ grep Libs: /usr/local/lib/pkgconfig/libndn-cxx.pc 
Libs: -L${libdir}  -L/usr/lib/x86_64-linux-gnu -L/usr/lib -lndn-cxx -lboost_system -lboost_program_options -lboost_chrono -lboost_date_time -lboost_filesystem -lboost_thread -lboost_log -lboost_stacktrace_backtrace -lcrypto -lsqlite3 -latomic -lrt -lpthread 

$ scanelf -nq /usr/local/lib/libndn-cxx.so.0.8.0 
libboost_chrono.so.1.74.0,libboost_filesystem.so.1.74.0,libboost_thread.so.1.74.0,libboost_log.so.1.74.0,libboost_stacktrace_backtrace.so.1.74.0,libcrypto.so.3,libsqlite3.so.0,libstdc++.so.6,libm.so.6,libgcc_s.so.1,libc.so.6,ld-linux-x86-64.so.2  /usr/local/lib/libndn-cxx.so.0.8.0

boost_program_options is not required to compile against the ndn-cxx library, it's used only by the ndnsec tool, so it should not be listed in the pkgconfig file.

Actions

Also available in: Atom PDF