summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 051a8098..4ecd110c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -125,7 +125,11 @@ libmarco_private_la_SOURCES = \
ui/theme.c \
ui/theme.h
-libmarco_private_la_LDFLAGS = -no-undefined
+if HAVE_GTK3
+libmarco_private_la_LDFLAGS = -no-undefined -version-info 1:0:0
+else
+libmarco_private_la_LDFLAGS = -no-undefined -version-info 0:0:0
+endif
libmarco_private_la_LIBADD = @MARCO_LIBS@
libmarcoincludedir = $(includedir)/marco-1/marco-private