summarylogtreecommitdiffstats
path: root/ps3libraries.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ps3libraries.sh')
-rwxr-xr-xps3libraries.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/ps3libraries.sh b/ps3libraries.sh
new file mode 100755
index 000000000000..1ce0c219c7df
--- /dev/null
+++ b/ps3libraries.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+#
+# Created by Darjan Krijan [https://disc-kuraudo.eu]
+#
+# Source this script to setup the environment for ps3libraries
+#
+
+[ -z "${PS3DEV}" ] && source /opt/ps3dev/ps3toolchain.sh
+export CPATH="${PS3DEV}/portlibs/ppu/include:${CPATH}"
+export LIBRARY_PATH="${PS3DEV}/portlibs/ppu/lib:${CPATH}"
+export PKG_CONFIG_PATH="${PS3DEV}/portlibs/ppu/lib/pkgconfig:${CPATH}"