Skip to content

Commit

Permalink
Fix relinking issue
Browse files Browse the repository at this point in the history
6a8c70e ("Fix a parallel build issue in the main library")
pulled out a cheap hack I had done and did it the right way.
Unfortunately, it did not handle relinking.  Add the proper dependency
so that the main libraries are installed before relinking the modules.

Signed-off-by: Corey Minyard <[email protected]>
  • Loading branch information
cminyard committed May 31, 2024
1 parent e078ad7 commit 85f3869
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,14 @@ libgensio_afskmdm_la_LIBADD = $(DYNAMIC_LIBS) -lm
# doing the plugins, since the plugins link against them.
$(gensiolibexec_LTLIBRARIES): $(lib_LTLIBRARIES)

# Same thing as above, but for relinking on installation. We have to
# have the main libraries installed before relinking. The rule as
# specified below add prerequisites to the targets instead of creating
# a rule.
install-gensiolibexecLTLIBRARIES gensiolibexec-dummyprereq: install-libLTLIBRARIES

.PHONY gensiolibexec-dummyprereq:

EXTRA_DIST = README.rst libgensioosh.pc.in libgensio.pc.in libgensiomdns.pc.in

DISTCLEANFILES = builtin_gensios.h
Expand Down

0 comments on commit 85f3869

Please sign in to comment.