Skip to content

Commit

Permalink
GUACAMOLE-1026: Merge remove build flag ALLOW_IN_SOURCE_BUILD when bu…
Browse files Browse the repository at this point in the history
…ilding FreeRDP.
  • Loading branch information
necouchman authored Jun 10, 2024
2 parents 3d7e4bd + 38d8893 commit 9b06ecc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ ARG WITH_LIBWEBSOCKETS='v\d+(\.\d+)+'
#

ARG FREERDP_OPTS="\
-DALLOW_IN_SOURCE_BUILD=ON \
-DBUILTIN_CHANNELS=OFF \
-DCHANNEL_URBDRC=OFF \
-DWITH_ALSA=OFF \
Expand Down
16 changes: 11 additions & 5 deletions src/guacd-docker/bin/build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,21 @@ install_from_git() {
# Configure build using CMake or GNU Autotools, whichever happens to be
# used by the library being built
if [ -e CMakeLists.txt ]; then
cmake -DCMAKE_INSTALL_PREFIX:PATH="$PREFIX_DIR" "$@" .
cmake \
-B "${REPO_DIR}-build" -S . \
-DCMAKE_INSTALL_PREFIX:PATH="$PREFIX_DIR" \
"$@"

# Build and install
cmake --build "${REPO_DIR}-build"
cmake --install "${REPO_DIR}-build"
else
[ -e configure ] || autoreconf -fi
./configure --prefix="$PREFIX_DIR" "$@"
fi

# Build and install
make && make install

# Build and install
make && make install
fi
}

#
Expand Down

0 comments on commit 9b06ecc

Please sign in to comment.