diff --git a/Building-for-Linux.md b/Building-for-Linux.md index 69fd3bb..e59c0a4 100644 --- a/Building-for-Linux.md +++ b/Building-for-Linux.md @@ -23,6 +23,9 @@ You'll need to download and install the following to build Citra: * [Clang](https://github.com/llvm-mirror/clang) 3.8 (optional build alternative) - Deb: `apt-get install clang libc++-dev` (in some distros, clang-3.8). - Arch: `pacman -S clang`, `libc++` is in the AUR. Use pacaur or yaourt to install it. +* Curl + - Deb: `apt-get install libcurl4-openssl-dev` + - Arch `pacman -S libcurl-compat` ### Cloning Citra in Git: @@ -39,7 +42,7 @@ The `--recursive` option automatically clones the required Git submodules too. ``` mkdir build && cd build -cmake ../ +cmake ../ -DUSE_SYSTEM_CURL=1 make sudo make install ``` @@ -53,7 +56,8 @@ Note: It is important you use libc++ vs. , otherwise your build will likely fail mkdir build && cd build cmake -DCMAKE_CXX_COMPILER=clang++-3.8 \ -DCMAKE_C_COMPILER=clang-3.8 \ - -DCMAKE_CXX_FLAGS="-O2 -g -stdlib=libc++" .. + -DCMAKE_CXX_FLAGS="-O2 -g -stdlib=libc++" \ + -DUSE_SYSTEM_CURL=1 .. make sudo make install (currently doesn't work, needs to be fixed) ``` @@ -78,7 +82,7 @@ do `sudo apt-get install libc++abi-dev && sudo ln -s /usr/include/libcxxabi/__cx ``` mkdir build && cd build -cmake .. -DCMAKE_BUILD_TYPE=Release +cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_CURL=1 make sudo make install (currently doesn't work, needs to be fixed) ``` @@ -86,7 +90,7 @@ sudo make install (currently doesn't work, needs to be fixed) ### Building with debug symbols: ``` -cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo +cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_SYSTEM_CURL=1 make ```