Opened 11 years ago

Closed 11 years ago

#2775 closed defect (invalid)

Support self-contained built ?

Reported by: jwfang Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


i want to build a "re-producable" FFmpeg and all its dependency 3rd party libraries in a directory without any dependency on the host system.
But FFmpeg include x264 with #include <x264.h>, and the configure script APPEND -I flags. So if i have a x264 installed in /usr/local, it will be used, and there is no means to force FFmpeg to use my own libx264.

I can think of the following solution:
1) if --extra-cflags PREPEND instead of append
2) --with-foolib=<dir>
3) include with "" instead of <>, and use GCC's -iquote

Change History (2)

comment:1 by jwfang, 11 years ago

sorry, i use 1) --extra-cflags solved this.
the options are processed before all config tests which add my locally installed x264.

comment:2 by Carl Eugen Hoyos, 11 years ago

Component: FFmpegundetermined
Resolution: invalid
Status: newclosed
Type: enhancementdefect
Note: See TracTickets for help on using tickets.