mirror of
https://github.com/OpenRC/openrc.git
synced 2024-11-27 03:44:16 +08:00
Take back -DPREFIX compiler flag when switched to meson
This is a continuation of https://github.com/gentoo/gentoo/pull/31017 Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
This commit is contained in:
parent
f9bbbfbf4b
commit
877c84f3b6
@ -205,6 +205,10 @@ if cc.has_function('strlcpy', prefix: '#define _GNU_SOURCE\n#include <string.h>'
|
||||
add_project_arguments('-DHAVE_STRLCPY', language: 'c')
|
||||
endif
|
||||
|
||||
if rootprefix != ''
|
||||
add_project_arguments('-DPREFIX', language: 'c')
|
||||
endif
|
||||
|
||||
incdir = include_directories('src/shared')
|
||||
einfo_incdir = include_directories('src/libeinfo')
|
||||
rc_incdir = include_directories('src/librc')
|
||||
|
Loading…
Reference in New Issue
Block a user