[vlc-devel] [PATCH 08/19] contrib: glew: fix the PATH to the system libraries
Rémi Denis-Courmont
remi at remlab.net
Wed Jun 14 15:34:54 CEST 2017
On June 14, 2017 3:01:57 PM GMT+03:00, Steve Lhomme <robux4 at videolabs.io> wrote:
>like libopengl32.a
>---
> contrib/src/glew/rules.mak | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
>
>diff --git a/contrib/src/glew/rules.mak b/contrib/src/glew/rules.mak
>index fa1f3ed46d..753bd3174e 100644
>--- a/contrib/src/glew/rules.mak
>+++ b/contrib/src/glew/rules.mak
>@@ -6,6 +6,13 @@ ifeq ($(call need_pkg,"glew"),)
> PKGS_FOUND += glew
> endif
>
>+GLEW_LDFLAGS=$(LDFLAGS)
>+ifdef HAVE_WIN32
>+ifndef HAVE_CROSS_COMPILE
>+ GLEW_LDFLAGS += -L/`echo $(MSYSTEM) | tr A-Z a-z`/$(BUILD)/lib
>+endif
>+endif
>+
> $(TARBALLS)/glew-$(GLEW_VERSION).tar.gz:
> $(call download_pkg,$(GLEW_URL),glew)
>
>@@ -20,7 +27,7 @@ endif
> $(MOVE)
>
> .glew: glew
>- cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -DGLEW_STATIC" $(MAKE)
>+ cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -DGLEW_STATIC"
>LDFLAGS="$(GLEW_LDFLAGS)" $(MAKE)
> cd $< && $(HOSTVARS) GLEW_DEST=$(PREFIX) $(MAKE) install
> ifdef HAVE_WIN32
> -rm $(PREFIX)/lib/*glew32.dll*
>--
>2.12.1
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel
Same problem as 2/...
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list