Skip to content

Commit

Permalink
Fix installation of training tools for flat training build
Browse files Browse the repository at this point in the history
Builds which were configured with --enable-shared did install the wrong files.
Using libtool fixes that.

Add also other flags which are used by the automake default install.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Dec 21, 2020
1 parent 57efa41 commit 421ebf0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,8 @@ training: $(EXTRA_PROGRAMS) | $(PROGRAMS)

training-install: $(EXTRA_PROGRAMS)
mkdir -p $(DESTDIR)$(bindir)
$(INSTALL) $(EXTRA_PROGRAMS) $(DESTDIR)$(bindir)
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install \
$(INSTALL) $(INSTALL_STRIP_FLAG) $(EXTRA_PROGRAMS) $(DESTDIR)$(bindir)

training-uninstall:

Expand Down

0 comments on commit 421ebf0

Please sign in to comment.