]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: provide virNetDevSysfsFile on non-Linux
authorEric Blake <eblake@redhat.com>
Tue, 14 Apr 2015 19:53:04 +0000 (13:53 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 14 Apr 2015 19:53:50 +0000 (13:53 -0600)
commit58dfc5341432e5b510c441457a524b9d818ad63c
tree23b564f84b13a73e529929accc2b3ac542a2d0d6
parente4ab08481399a90eeb123df75f26234a924d7c3b
build: provide virNetDevSysfsFile on non-Linux

Commit 49ed6cff is broken on mingw and other non-linux platforms:

  CCLD     libvirt.la
  Cannot export virNetDevSysfsFile: symbol not defined
  collect2: error: ld returned 1 exit status

* src/util/virnetdev.c: Provide virNetDevSysfsFile fallback.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/util/virnetdev.c