Skip to content
Snippets Groups Projects
Commit 9858ba5d authored by Maxime Chapelet's avatar Maxime Chapelet Committed by Steve Lhomme
Browse files

contribs: png: disable debug lib suffix for all platforms

Given contribs are bootstrapped with `--disable-optimizations` option,
the CMAKE flag `-DCMAKE_BUILD_TYPE` is set to `Debug`, and when
build configuration is set to `Debug` in libpng contrib, it CMAKE
configuration append a `d` char to the static library name,
resulting in a lib named `libpng16d.a` instead of `libpng16.a`.
Then some vlc module depending on libpng aren't able to link
properly as they can't find their lpng16 dependency.
parent 94f27356
No related branches found
No related tags found
No related merge requests found
......@@ -29,9 +29,7 @@ PNG_CONF += -DCMAKE_ASM_FLAGS="$(CFLAGS)"
endif
endif
ifdef HAVE_WIN32
PNG_CONF += -DPNG_DEBUG_POSTFIX:STRING=
endif
ifeq ($(ARCH),arm)
ifdef HAVE_IOS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment