From 5541cade86bfcf5bf7115a7b9ae4f6996c57c137 Mon Sep 17 00:00:00 2001
From: Matthias Bolte <matthias.bolte@googlemail.com>
Date: Fri, 12 Mar 2010 22:09:50 +0100
Subject: [PATCH] macvtap: Only export symbols if support is enabled

---
 src/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Makefile.am b/src/Makefile.am
index 67f8b6d548..4c12586b4a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -786,7 +786,9 @@ if WITH_LINUX
 USED_SYM_FILES += libvirt_linux.syms
 endif
 
+if WITH_MACVTAP
 USED_SYM_FILES += libvirt_macvtap.syms
+endif
 
 EXTRA_DIST += \
   libvirt_public.syms		\