X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5be30b7a15fb3a0fb1ee36d16d7dd85e9029e03..851b3a889f69c33b8a94bf9c626141b7f1cadbbb:/src/makelib.env.in diff --git a/src/makelib.env.in b/src/makelib.env.in index 3da9676922..daf3f6b710 100644 --- a/src/makelib.env.in +++ b/src/makelib.env.in @@ -41,6 +41,8 @@ TARGETLIB_LINK2 = $(TARGET_LIBNAME).so TARGETLIB_SONAME = @WX_TARGET_LIBRARY_SONAME@ +LDFLAGS_VERSIONING = @LDFLAGS_VERSIONING@ + # NB: see remark in Makefile.in as to why we don't use %.foo: %.bar rules .SUFFIXES: .o .c .cpp .cxx @@ -68,7 +70,7 @@ libtype_a: $(top_builddir)/lib/$(TARGETLIB_STATIC) $(top_builddir)/lib/$(TARGETLIB_SHARED): $(OBJECTS) @$(INSTALL) -d $(top_builddir)/lib - $(SHARED_LD) $@ $(TARGETLIB_SONAME) $(OBJECTS) + $(SHARED_LD) $@ $(TARGETLIB_SONAME) $(OBJECTS) $(LDFLAGS_VERSIONING) cd $(top_builddir)/lib \ && $(RM) $(TARGETLIB_LINK1) $(TARGETLIB_LINK2) \ && $(LN_S) $(TARGETLIB_SHARED) $(TARGETLIB_LINK1) \