[configure.ac] Add the option of passing libnl path to configure script#503
[configure.ac] Add the option of passing libnl path to configure script#503smaheshm wants to merge 1 commit intosonic-net:masterfrom
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Offline discussed. Actually in the LGTM build process, you can build swss-common with Debian vanilla libnl3. then you can uninstall vanilla libnl3. The root issue is swss depends a patched version of libnl3, so you need to fix swss configure.ac this way. No need to change swss-common configure.ac at all. |
created: |
|
created PR in sonic-swss |
No need to uninstall as I'm specifying the custom libnl library path with "-L" option, so g++ should link those libs before looking at the usual location. |
* wait for specified duration during LPmode on/off * Add Macro and remove redundant sleep * Update test_cmis.py * Address review comments * Indentation issue
MPLS feature in sonic-buildimage requires a libnl patch to be applied before building libnl. Since this build is not installed in usual locations (/usr/lib/..) LGTM analysis fails. This change gives the option of passing libnl library location to 'configure' script and generate libraries to be linked.
In case the options are not passed, the configure script defaults to earlier behavior where it checks for LIBNL in usual locations.
If options are not provided PKG_CHECK_MODULES will check for libnl and fail if not found.