tests: Prefer ${NM} over `nm` in abicheck.sh
@marv
Submitted by Marvin Schmidt Assigned to dco..@..e.bugs
Link to original bug (#781769)
Description
Created attachment 350481
abicheck.sh: use ${NM} if provided, otherwise fall back to nm
nm
might not be the correct nm executable, especially when cross-compiling. The patches changes the behaviour to prefer ${NM} if it's provided and fall back to nm
otherwise. I tried to do this the correct way by using A[CM]_PROG_NM / LT_PATH_NM, but that pulls in libtool and causes problems when linking the gsettings module. Therefore I went with just allowing to override it from the environment
Best regards, Marvin
Patch 350481, "abicheck.sh: use ${NM} if provided, otherwise fall back to nm
":
0003-abicheck-Use-NM-and-fall-back-to-nm.patch
Version: git master