diff --git a/tecmake.mak b/tecmake.mak index b712a36..a25844d 100755 --- a/tecmake.mak +++ b/tecmake.mak @@ -1667,7 +1667,9 @@ dynamic-lib: $(TARGETDIR)/$(TARGETDLIBNAME) $(TARGETDIR)/$(TARGETDLIBNAME) : $(LUAS) $(OBJS) $(EXTRADEPS) @echo ''; echo Tecmake: linking $(@F) ... - $(ECHO)$(LD) $(STDLDFLAGS) -o $@ $(OBJS) $(SLIB) $(LFLAGS) + $(ECHO)$(LD) $(STDLDFLAGS) -Wl,-soname,$(@F).5 -o $@.5.14 $(OBJS) $(SLIB) $(LFLAGS) + @echo ''; ln -sv $(@F).5.14 $@.5 + @echo ''; ln -sv $(@F).5 $@ @echo ''; echo 'Tecmake: Dynamic Library ($@) Done.'; echo ''