[vlc-commits] contrib: Prefix EXTRA_LDFLAGS with the path to our build dir

Hugo Beauzée-Luyssen git at videolan.org
Tue Sep 19 11:16:08 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Sep 19 10:12:19 2017 +0200| [3a8bb3d9859234cf74c8158f5364e54cf5ca6599] | committer: Hugo Beauzée-Luyssen

contrib: Prefix EXTRA_LDFLAGS with the path to our build dir

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3a8bb3d9859234cf74c8158f5364e54cf5ca6599
---

 contrib/src/main.mak | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 775e2f1b4b..9a874320d4 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -166,8 +166,7 @@ EXTRA_CFLAGS += -I$(PREFIX)/include
 CPPFLAGS := $(CPPFLAGS) $(EXTRA_CFLAGS)
 CFLAGS := $(CFLAGS) $(EXTRA_CFLAGS) -g
 CXXFLAGS := $(CXXFLAGS) $(EXTRA_CFLAGS) $(EXTRA_CXXFLAGS) -g
-EXTRA_LDFLAGS += -L$(PREFIX)/lib
-LDFLAGS := $(LDFLAGS) $(EXTRA_LDFLAGS)
+LDFLAGS := $(LDFLAGS) -L$(PREFIX)/lib $(EXTRA_LDFLAGS)
 
 ifndef WITH_OPTIMIZATION
 CFLAGS := $(CFLAGS) -O0



More information about the vlc-commits mailing list