Skip to content
Snippets Groups Projects
Commit 09edd19b authored by Ciro Santilli's avatar Ciro Santilli
Browse files

static build

parent 9931810d
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ sudo apt-get install \ ...@@ -8,6 +8,7 @@ sudo apt-get install \
autopoint \ autopoint \
cmake \ cmake \
dbus \ dbus \
doxygen \
g++ \ g++ \
gettext \ gettext \
gnome-icon-theme-symbolic \ gnome-icon-theme-symbolic \
...@@ -67,9 +68,12 @@ make install ...@@ -67,9 +68,12 @@ make install
cd "${TOP}/lrc" cd "${TOP}/lrc"
mkdir -p build mkdir -p build
cd build cd build
# If we don't use -DENABLE_STATIC here and on the client,
# we'd have to point LD_LIBRARY_PATH to the directory containing libringclient.so
cmake .. \ cmake .. \
-DCMAKE_BUILD_TYPE=Debug \ -DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_INSTALL_PREFIX="${INSTALL}/lrc" \ -DCMAKE_INSTALL_PREFIX="${INSTALL}/lrc" \
-DENABLE_STATIC=true \
-DRING_BUILD_DIR="${RING}/src" -DRING_BUILD_DIR="${RING}/src"
make make
make install make install
...@@ -78,8 +82,8 @@ cd "${TOP}/client-gnome" ...@@ -78,8 +82,8 @@ cd "${TOP}/client-gnome"
mkdir -p build mkdir -p build
cd build cd build
cmake .. \ cmake .. \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_INSTALL_PREFIX="${INSTALL}/client-gnome" \ -DCMAKE_INSTALL_PREFIX="${INSTALL}/client-gnome" \
-DENABLE_STATIC=true \
-DLibRingClient_DIR="${INSTALL}/lrc/lib/cmake/LibRingClient" -DLibRingClient_DIR="${INSTALL}/lrc/lib/cmake/LibRingClient"
make make
sudo make install sudo make install
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment