README: Correct env variables to build using specific libparted version
CPPFLAGS - Needed to instruct the compiler to use libparted include files, <parted/parted.h> etc, from the non-default location. LD_LIBRARY_PATH - Not needed to specify an additional directory to find libparted shared libraries at run time, as the linker build the additional directory into the executable based on the LD_RUN_PATH environment variable.
This commit is contained in:
parent
a1ea76b51a
commit
826d9d47ad
7
README
7
README
|
@ -153,11 +153,12 @@ c. Building using a Specific (lib)parted Version
|
|||
Extract parted tarball, configure, make, and sudo make install.
|
||||
Note that by default this will install into /usr/local.
|
||||
|
||||
3) Set library environment variables to look in /usr/local/lib.
|
||||
3) Set environment variables to inform the GParted build system to
|
||||
use libparted from /usr/local:
|
||||
|
||||
export LD_LIBRARY_PATH=/usr/local/lib
|
||||
export LD_RUN_PATH=/usr/local/lib
|
||||
export CPPFLAGS=-I/usr/local/include
|
||||
export LDFLAGS=-L/usr/local/lib
|
||||
export LD_RUN_PATH=/usr/local/lib
|
||||
|
||||
4) Build gparted using steps listed above in "Building from Source".
|
||||
|
||||
|
|
Loading…
Reference in New Issue