openbsd-ports/multimedia/libvpx/patches/patch-examples_mk
dcoppa 995bcbc512 Update to libvpx 1.0.0.
From brad, with tweaks by me.
2012-02-28 12:28:29 +00:00

13 lines
561 B
Plaintext

$OpenBSD: patch-examples_mk,v 1.1 2012/02/28 12:28:29 dcoppa Exp $
--- examples.mk.orig Thu Feb 23 10:30:34 2012
+++ examples.mk Thu Feb 23 10:31:11 2012
@@ -178,7 +178,7 @@ BINS-$(NOT_MSVS) += $(addprefix $(BUILD_PFX)
# Instantiate linker template for all examples.
CODEC_LIB=$(if $(CONFIG_DEBUG_LIBS),vpx_g,vpx)
-CODEC_LIB_SUF=$(if $(CONFIG_SHARED),.so,.a)
+CODEC_LIB_SUF=$(if $(CONFIG_SHARED),.so.$(LIBVPX_VERSION),.a)
$(foreach bin,$(BINS-yes),\
$(if $(BUILD_OBJS),$(eval $(bin):\
$(LIB_PATH)/lib$(CODEC_LIB)$(CODEC_LIB_SUF)))\