Skip to content

Commit

Permalink
mark version as 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lvandeve committed Nov 27, 2019
1 parent 2eed35e commit bd64b2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ endif()
#
set(ZOPFLI_VERSION_MAJOR 1)
set(ZOPFLI_VERSION_MINOR 0)
set(ZOPFLI_VERSION_PATCH 2)
set(ZOPFLI_VERSION_PATCH 3)
set(ZOPFLI_VERSION ${ZOPFLI_VERSION_MAJOR}.${ZOPFLI_VERSION_MINOR}.${ZOPFLI_VERSION_PATCH})

if(ZOPFLI_BUILD_SHARED)
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ zopfli: $(ZOPFLILIB_OBJ) $(ZOPFLIBIN_OBJ)

# Zopfli shared library
libzopfli: $(ZOPFLILIB_OBJ)
$(CC) $^ $(CFLAGS) -shared -Wl,-soname,libzopfli.so.1 -o libzopfli.so.1.0.2 $(LDFLAGS)
$(CC) $^ $(CFLAGS) -shared -Wl,-soname,libzopfli.so.1 -o libzopfli.so.1.0.3 $(LDFLAGS)

# Zopfli static library
libzopfli.a: $(ZOPFLILIB_OBJ)
Expand All @@ -54,7 +54,7 @@ zopflipng: $(ZOPFLILIB_OBJ) $(LODEPNG_OBJ) $(ZOPFLIPNGLIB_OBJ) $(ZOPFLIPNGBIN_OB

# ZopfliPNG shared library
libzopflipng: $(ZOPFLILIB_OBJ) $(LODEPNG_OBJ) $(ZOPFLIPNGLIB_OBJ)
$(CXX) $^ $(CFLAGS) --shared -Wl,-soname,libzopflipng.so.1 -o libzopflipng.so.1.0.2 $(LDFLAGS)
$(CXX) $^ $(CFLAGS) --shared -Wl,-soname,libzopflipng.so.1 -o libzopflipng.so.1.0.3 $(LDFLAGS)

# ZopfliPNG static library
libzopflipng.a: $(LODEPNG_OBJ) $(ZOPFLIPNGLIB_OBJ)
Expand Down

1 comment on commit bd64b2f

@zvezdochiot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe?:

VERSION_MAJOR = 1
VERSION_MINOR = 0
VERSION_RELEASE = 3
...
	$(CC) $^ $(CFLAGS) -shared -Wl,-soname,libzopfli.so.$(VERSION_MAJOR) -o libzopfli.so.$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_RELEASE) $(LDFLAGS)
...
	$(CXX) $^ $(CFLAGS) --shared -Wl,-soname,libzopflipng.so.$(VERSION_MAJOR) -o libzopflipng.so.$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_RELEASE) $(LDFLAGS)
...

Please sign in to comment.