X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=engines%2FMakefile;h=2fa9534401b1a1be2b811d08b7a15a835b78df05;hb=36778eb231fb7c0fba2925a370a60271475a0e95;hp=82ecace5fe4639842794023db9d08a816ae18baf;hpb=d5ec7d66a8ccd493a45f9ddbf62538bc1708a741;p=oweals%2Fopenssl.git diff --git a/engines/Makefile b/engines/Makefile index 82ecace5fe..2fa9534401 100644 --- a/engines/Makefile +++ b/engines/Makefile @@ -107,13 +107,14 @@ install: @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... @if [ -n "$(SHARED_LIBS)" ]; then \ set -e; \ + $(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines; \ for l in $(LIBNAMES); do \ ( echo installing $$l; \ pfx=lib; \ if [ "$(PLATFORM)" != "Cygwin" ]; then \ case "$(CFLAGS)" in \ *DSO_BEOS*) sfx=".so";; \ - *DSO_DLFCN*) sfx=".so";; \ + *DSO_DLFCN*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \ *DSO_DL*) sfx=".sl";; \ *DSO_WIN32*) sfx="eay32.dll"; pfx=;; \ *) sfx=".bad";; \