Message ID | 20190912131709.7064-1-robux4@ycbcr.xyz |
---|---|
State | New |
Headers | show |
This is for this repo: https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git On 2019-09-12 15:17, Steve Lhomme wrote: > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index a51c2c9..c3a9209 100644 > --- a/Makefile > +++ b/Makefile > @@ -1,4 +1,4 @@ > -PREFIX = /usr/local > +PREFIX ?= /usr/local > LIBDIR = lib > INSTALL = install > SED = sed > -- > 2.17.1 > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". >
On 12/09/2019 15:17, Steve Lhomme wrote: > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index a51c2c9..c3a9209 100644 > --- a/Makefile > +++ b/Makefile > @@ -1,4 +1,4 @@ > -PREFIX = /usr/local > +PREFIX ?= /usr/local Overriding the prefix worked just fine last time I tested it. You do make install PREFIX=... > LIBDIR = lib > INSTALL = install > SED = sed >
Ah yes, it works (TIL). Forget about this patch. On 2019-09-12 16:26, Timo Rothenpieler wrote: > On 12/09/2019 15:17, Steve Lhomme wrote: >> --- >> Makefile | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/Makefile b/Makefile >> index a51c2c9..c3a9209 100644 >> --- a/Makefile >> +++ b/Makefile >> @@ -1,4 +1,4 @@ >> -PREFIX = /usr/local >> +PREFIX ?= /usr/local > > Overriding the prefix worked just fine last time I tested it. > > You do make install PREFIX=... > >> LIBDIR = lib >> INSTALL = install >> SED = sed >> > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
diff --git a/Makefile b/Makefile index a51c2c9..c3a9209 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PREFIX = /usr/local +PREFIX ?= /usr/local LIBDIR = lib INSTALL = install SED = sed