[gparted] README: Correct env variables to build using specific libparted version



commit 826d9d47ad3261bc33c465d1b6bf56dd0834be3e
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Sat Sep 20 11:31:12 2014 +0100

    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.

 README |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/README b/README
index bcc136f..d6be5a2 100644
--- a/README
+++ b/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".
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]