summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-07-15 10:16:10 +0800
committerErik Kundiman <erik@megapahit.org>2024-07-15 10:16:10 +0800
commitcfc3e574fa1e17c90cacb6cde810e2edede5459d (patch)
tree22387b3577189844a23b6744ff56b372caf7a398
parentc48e6f5e95d44761e4e9ce27366711b2624c1ed3 (diff)
Necessary folder inclusion in building XMLRPC-EPI
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 286468e98f..cb75c60cd3 100644
--- a/README.md
+++ b/README.md
@@ -61,6 +61,7 @@ $ cd build/`uname -m`-apple-darwin`uname -r`
$ cmake -DCMAKE_BUILD_TYPE:STRING=Release ../..
$ sudo cp src/lib/openjp2/opj_config_private.h /opt/local/include/openjpeg-2.5/
$ cd ../../../xmlrpc-epi-0.54.2
+$ export CPPFLAGS="$CPPFLAGS -I$PWD/src"
$ rm -f config.sub missing
$ autoreconf -is
$ mkdir -p build/x86_64-apple-darwin`uname -r`
@@ -79,7 +80,7 @@ $ ../../configure --host=aarch64-apple-darwin`uname -r`
$ make -j`sysctl -n hw.ncpu`
$ sudo lipo src/.libs/libxmlrpc-epi.a /usr/local/lib/libxmlrpc-epi.a -create -output /usr/local/lib/libxmlrpc-epi.a
$ sudo lipo src/.libs/libxmlrpc-epi.0.dylib /usr/local/lib/libxmlrpc-epi.0.dylib -create -output /usr/local/lib/libxmlrpc-epi.0.dylib
-$ unset CFLAGS
+$ unset CPPFLAGS CFLAGS
$ cd ../../../../3p-openssl/openssl
$ mkdir -p build/aarch64-apple-darwin`uname -r`
$ cd build/aarch64-apple-darwin`uname -r`