diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2019-01-14 16:13:05 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2019-01-17 12:55:39 +0100 |
commit | 5d0be9455254daea448ea28567c15ac08246c032 (patch) | |
tree | 494a62047a6d49c77feff4153d98da9a0cc1c307 /INSTALL | |
parent | a32ce0a34563d12bbbc4eeee9179eb949fa5da72 (diff) |
Update static build instructions
It appears that the required libraries may depend on whether linking is
done statically or dynamically. The pkg-config thus needs to know. Update
the instructions accordingly.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -62,12 +62,10 @@ using an option for disabling shared libraries: $ LDFLAGS="--static -static" ./configure --disable-shared Note that this requires static variants of all the libraries needed for -linking which may not be available in all systems. +linking which may not be available in all systems. Then run the configure +script as follows: -In order to build binaries that are not dependent on libraries contained -in v4l-utils, simply use the --disable-shared option: - - $ ./configure --disable-shared + $ PKG_CONFIG="pkg-config --static" ./configure --disable-shared Android Cross Compiling and Installing: ---------------- |