[vlc-commits] [Git][videolan/vlc][master] contribs: png: disable debug lib suffix for all platforms
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Jan 29 06:33:37 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
9858ba5d by Maxime Chapelet at 2025-01-29T05:43:52+00:00
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.
- - - - -
1 changed file:
- contrib/src/png/rules.mak
Changes:
=====================================
contrib/src/png/rules.mak
=====================================
@@ -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
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9858ba5d19d0aa5dafd779be307f951cb1273589
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9858ba5d19d0aa5dafd779be307f951cb1273589
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list