aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Wouter van Kesteren <woutershep@gmail.com> 2013-04-27 13:45:40 +0200
committerAvatar Wouter van Kesteren <woutershep@gmail.com> 2013-05-03 22:54:13 +0200
commit627009d4ccbdb4b141e8594c7b70cb1f6144539d (patch)
tree1ca90c71639200a88a69a8afe93191ebcbc43c76
parent5ccd26c507179602d4e1e832d20d1360d1aa6e4a (diff)
downloadpaludis-627009d4ccbdb4b141e8594c7b70cb1f6144539d.tar.gz
paludis-627009d4ccbdb4b141e8594c7b70cb1f6144539d.tar.xz
Fix linking error in aa_visitor_TEST.cc
aa_visitor_TEST.cc:48: undefined reference to `paludis::Singleton<paludis::erepository::EAPIData>::get_instance()'
-rw-r--r--paludis/repositories/e/eapi.cc1
-rw-r--r--paludis/repositories/e/eapi.hh2
2 files changed, 3 insertions, 0 deletions
diff --git a/paludis/repositories/e/eapi.cc b/paludis/repositories/e/eapi.cc
index 89f1bc3..da5979e 100644
--- a/paludis/repositories/e/eapi.cc
+++ b/paludis/repositories/e/eapi.cc
@@ -22,6 +22,7 @@
#include <paludis/name.hh>
#include <paludis/dep_spec.hh>
+#include <paludis/util/attributes.hh>
#include <paludis/util/is_file_with_extension.hh>
#include <paludis/util/system.hh>
#include <paludis/util/strip.hh>
diff --git a/paludis/repositories/e/eapi.hh b/paludis/repositories/e/eapi.hh
index fbd836b..f33a72d 100644
--- a/paludis/repositories/e/eapi.hh
+++ b/paludis/repositories/e/eapi.hh
@@ -227,6 +227,8 @@ namespace paludis
typedef Name<struct name_want_portage_emulation_vars> want_portage_emulation_vars;
}
+ extern template class PALUDIS_VISIBLE Singleton<erepository::EAPIData>;
+
namespace erepository
{
class PALUDIS_VISIBLE EAPILabels