iup-stack-solus/libim/files/0002-shared-links.patch

16 lines
560 B
Diff
Raw Permalink Normal View History

2023-08-01 18:34:01 +00:00
diff --git a/tecmake.mak b/tecmake.mak
index 03df592..2e8be22 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).3 -o $@.3.15 $(OBJS) $(SLIB) $(LFLAGS)
+ @echo ''; ln -sv $(@F).3.15 $@.3
+ @echo ''; ln -sv $(@F).3 $@
@echo ''; echo 'Tecmake: Dynamic Library ($@) Done.'; echo ''