]> gitweb.michael.orlitzky.com - libsvgtiny-pixbuf.git/commitdiff
Makefile.am: don't version the shared library.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 4 Aug 2023 20:52:40 +0000 (16:52 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 4 Aug 2023 20:52:40 +0000 (16:52 -0400)
Makefile.am

index 3c9ce42f0c492b6140a48c3b4447865d3aa3b911..705c46be07e7c2760a76b7e75d029ea0ec2c05ec 100644 (file)
@@ -12,6 +12,11 @@ libpixbufloader_svg_la_LIBADD = $(CAIRO_LIBS) \
                                 $(GDKPIXBUF_LIBS) \
                                 $(GTK4_LIBS) \
                                 $(LIBSVGTINY_LIBS)
+
+# Create foo.so instead of foo.so.x.y.z, and allow it to be
+# dlopen()ed.
+libpixbufloader_svg_la_LDFLAGS = -avoid-version -module
+
 noinst_PROGRAMS = svg2png
 svg2png_SOURCES = $(libpixbufloader_svg_la_SOURCES)
 svg2png_CPPFLAGS = $(libpixbufloader_svg_la_CPPFLAGS)