Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
fix liboqs.so.version install (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
baentsch authored Aug 5, 2022
1 parent d07f6b7 commit e916097
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Configurations/unix-Makefile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -790,10 +790,11 @@ endif
ifneq (,$(wildcard $(OQSLIBDIR)/liboqs.so.0*))
@set -e; for i in $(OQSLIBDIR)/liboqs.so.0.*; do \
fn=`basename $$i`; \
sn=`basename $(OQSLIBDIR)/liboqs.so.?`; \
$(ECHO) "install $(OQSLIBDIR)/$$fn $(DESTDIR)$(libdir)"; \
$(ECHO) "cd $(DESTDIR)$(libdir) && ln -sf $$fn liboqs.so && ln -sf $$fn liboqs.so.0 && cd -"; \
$(ECHO) "cd $(DESTDIR)$(libdir) && ln -sf $$fn liboqs.so && ln -sf $$fn $$sn && cd -"; \
install $(OQSLIBDIR)/$$fn $(DESTDIR)$(libdir); \
cd $(DESTDIR)$(libdir) && ln -sf $$fn liboqs.so && ln -sf $$fn liboqs.so.0 && cd -; \
cd $(DESTDIR)$(libdir) && ln -sf $$fn liboqs.so && ln -sf $$fn $$sn && cd -; \
done
endif

Expand Down

0 comments on commit e916097

Please sign in to comment.