Skip to content

Commit

Permalink
plugin: fair_tree: fix installation path
Browse files Browse the repository at this point in the history
Problem: the sched priority_mod_fair_tree.so plugin is installed into
$libdir directly instead of under $libdir/flux/sched as required to be
found by the flux-module frontend command.

The build system already exports $schedplugindir, so move the
priority_mod_fair_tree.so from lib_LTLIBRARIES to schedplugin_LTLIBRARIES.

Fixes #344
  • Loading branch information
grondo committed Jan 30, 2019
1 parent d0ccec9 commit 7574f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sched/priority/modified_fair_tree/Makefile.am
Expand Up @@ -11,7 +11,7 @@ libconvenience_la_CXXFLAGS = \
libconvenience_la_LIBADD = $(top_builddir)/resrc/libflux-resrc.la \
$(FLUX_CORE_LIBS) $(JANSSON_LIBS) $(CZMQ_LIBS)

lib_LTLIBRARIES = priority_mod_fair_tree.la
schedplugin_LTLIBRARIES = priority_mod_fair_tree.la
# Dummy C++ source to cause C++ linking.
nodist_EXTRA_priority_mod_fair_tree_la_SOURCES = dummy.cpp
priority_mod_fair_tree_la_SOURCES =
Expand Down

0 comments on commit 7574f0c

Please sign in to comment.