You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mg...@apache.org on 2020/01/09 06:56:37 UTC

[tomcat-native] 01/01: Install libtcnative** files in $prefix/bin folder

This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch feature/install-libtcnative-in-catalina-bin-folder
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git

commit 0fc2e32a645abbf97a8f93c8e5cce8561842fbe3
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Thu Jan 9 08:52:41 2020 +0200

    Install libtcnative** files in $prefix/bin folder
    
    $prefix == $CATALINA_HOME
    
    As explained by Remy Maucherat at https://markmail.org/message/3fb7o7xljawktilr the native libraries should be installed at $CATALINA_HOME/bin instead of $CATALINA_HOME/lib folder.
---
 native/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/native/Makefile.in b/native/Makefile.in
index 6e6c68a..1780faa 100644
--- a/native/Makefile.in
+++ b/native/Makefile.in
@@ -84,7 +84,7 @@ install: $(TARGET_LIB)
 	list='$(INSTALL_SUBDIRS)'; for i in $$list; do \
 		( cd $$i ; $(MAKE) DESTDIR=$(DESTDIR) install ); \
 	done
-	$(LIBTOOL) --mode=install $(INSTALL) -m 755 $(TARGET_LIB) $(DESTDIR)$(libdir)
+	$(LIBTOOL) --mode=install $(INSTALL) -m 755 $(TARGET_LIB) $(DESTDIR)$(bindir)
 
 $(TARGET_LIB): $(OBJECTS)
 	$(LINK) @lib_target@ $(TCNATIVE_LDFLAGS) $(TCNATIVE_LIBS)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org