build: follow naming conventing about binary postfix used by Xash3D (#671)
ci: add builds for apple silicon
This commit is contained in:
parent
b8fb2e8845
commit
abbc5bfc5a
3 changed files with 57 additions and 8 deletions
11
meson.build
11
meson.build
|
|
@ -303,9 +303,18 @@ if os == 'windows' and git.found()
|
|||
)
|
||||
endif
|
||||
|
||||
target_name = meson.project_name()
|
||||
|
||||
# xash specific postfix for binaries
|
||||
if cpu == 'aarch64'
|
||||
target_name += '_arm64'
|
||||
elif opt_64bit
|
||||
target_name += '_amd64'
|
||||
endif
|
||||
|
||||
# instruct meson we're want our little shared lib bot
|
||||
shared_library(
|
||||
meson.project_name(),
|
||||
target_name,
|
||||
sources,
|
||||
include_directories: includes,
|
||||
gnu_symbol_visibility: 'hidden',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue