diff options
author | Thomas Haller <thaller@redhat.com> | 2014-12-17 00:15:27 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-12-17 14:55:38 +0100 |
commit | 83cb0aa0fca19e55cf96c10303bca414b44e2bbc (patch) | |
tree | 070ca60d729a236a113aea39631caa6672b71a63 /src/nm-active-connection.c | |
parent | 2d5822f2642ae5ccb5cca9480fe8e688ced7526b (diff) | |
download | NetworkManager-th/bgo741651.tar.gz |
build: embed git-commit-id as string inside the compiled libnmth/bgo741651
In the 'configure.ac' script we already detect the git commit id
for the current source version. When creating a tarball, it is also
included inside the generated 'configure' script.
Add the commit id as a static string to nm-utils.c. That way, having
a build of libnm.so or NetworkManager, you can quickly find the
corresponding git commit:
strings src/NetworkManager | grep NM_GIT_SHA
Note that this only works after a new autogen.sh. Simply rebuilding
is not enough. Hence, to ensure that you have the right commit id
embedded, rebuild cleanly.
Diffstat (limited to 'src/nm-active-connection.c')
0 files changed, 0 insertions, 0 deletions