From a2dee162af41c80827ff60d87c08ea981b55b31b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 19 Mar 2013 15:02:31 +0200 Subject: Add support for installing plugin into default GCC plugin directory --- odb/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb/Makefile.am') diff --git a/odb/Makefile.am b/odb/Makefile.am index bc2fc76..f9d9703 100644 --- a/odb/Makefile.am +++ b/odb/Makefile.am @@ -2,7 +2,7 @@ # copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC # license : GNU GPL v3; see accompanying LICENSE file -plugindir = $(pkglibexecdir) +plugindir = @plugindir@ bin_PROGRAMS = odb plugin_LTLIBRARIES = odb.la @@ -19,7 +19,7 @@ odb_la_LDFLAGS = -module -shrext .so -avoid-version # Remove the .la file from the final install. # install-data-hook: - rm -f '$(DESTDIR)$(pkglibexecdir)/odb.la' + rm -f '$(DESTDIR)$(plugindir)/odb.la' # Driver. # -- cgit v1.1