Skip to content

Commit

Permalink
Switch to libncursesw6
Browse files Browse the repository at this point in the history
  • Loading branch information
botder committed Aug 23, 2024
1 parent cd7dd1a commit a41e5aa
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ENV AS_BUILDAGENT=0 \
RUN apt-get update && \
apt-get install -y software-properties-common wget ca-certificates git build-essential \
gcc-10 g++-10 curl subversion ncftp \
libncurses-dev libncursesw5 libmysqlclient-dev
libncurses-dev libncursesw6 libmysqlclient-dev

# Set build directory
VOLUME /build
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN sed -i 's/deb http/deb \[arch=amd64,i386\] http/' /etc/apt/sources.list && \
apt-get update && \
apt-get install -y make git ncftp \
gcc-10-aarch64-linux-gnu g++-10-aarch64-linux-gnu \
libncursesw5:arm64 libncursesw5-dev:arm64 libmysqlclient-dev:arm64
libncurses-dev:arm64 libncursesw6:arm64 libmysqlclient-dev:arm64

# Set build directory
VOLUME /build
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.armhf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN sed -i 's/deb http/deb \[arch=amd64,i386\] http/' /etc/apt/sources.list && \
apt-get update && \
apt-get install -y make git ncftp \
gcc-10-arm-linux-gnueabihf g++-10-arm-linux-gnueabihf \
libncursesw5:armhf libncursesw5-dev:armhf libmysqlclient-dev:armhf
libncurses-dev:armhf libncursesw6:armhf libmysqlclient-dev:armhf

# Set build directory
VOLUME /build
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.i386
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ENV AS_BUILDAGENT=0 \
RUN dpkg --add-architecture i386 && apt-get update && \
apt-get install -y software-properties-common wget ca-certificates git build-essential \
gcc-10-multilib g++-10-multilib curl subversion ncftp \
libncurses-dev:i386 libncursesw5:i386 libmysqlclient-dev:i386
libncurses-dev:i386 libncursesw6:i386 libmysqlclient-dev:i386

# Set build directory
VOLUME /build
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ You can build the MTA:SA server on GNU/Linux distributions only for x86, x86_64,
- git
- make
- GNU GCC compiler (version 10 or newer)
- libncursesw5
- libncursesw5-dev
- libncursesw6
- libncurses-dev
- libmysqlclient-dev

**Build instructions: Script**
Expand Down
2 changes: 1 addition & 1 deletion Server/core/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ project "Core"
links { "breakpad", "rt" }
buildoptions { "-pthread" }
linkoptions { "-pthread" }
linkoptions { "-l:libncursesw.so.5" }
linkoptions { "-l:libncursesw.so.6" }

filter "system:macosx"
links { "ncurses", "breakpad", "CoreFoundation.framework" }
Expand Down

0 comments on commit a41e5aa

Please sign in to comment.