Skip to content

Commit 8f809c7

Browse files
authored
Merge pull request #1392 from hoxovic/alpine_build
Simplify build on Alpine
2 parents fd9c0c3 + d719053 commit 8f809c7

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ pkg install devel/cmake devel/boost-libs textproc/expat2 \
9999
databases/postgresql94-client graphics/proj lang/lua52
100100
```
101101

102+
On Alpine, use
103+
104+
```sh
105+
apk --update-cache add cmake make g++ boost-dev expat-dev \
106+
bzip2-dev zlib-dev libpq proj-dev lua5.3-dev
107+
```
108+
102109
Once dependencies are installed, use CMake to build the Makefiles in a separate
103110
folder:
104111

cmake/FindLua.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ find_library(LUA_LIBRARY
114114
NAMES ${_lua_library_names} lua
115115
HINTS
116116
ENV LUA_DIR
117-
PATH_SUFFIXES lib
117+
PATH_SUFFIXES lib ${_lua_library_names}
118118
PATHS
119119
~/Library/Frameworks
120120
/Library/Frameworks

0 commit comments

Comments
 (0)