Skip to content

Commit

Permalink
Take back -DPREFIX compiler flag when switched to meson
Browse files Browse the repository at this point in the history
This is a continuation of gentoo/gentoo#31017

Signed-off-by: Yiyang Wu <[email protected]>
  • Loading branch information
littlewu2508 committed Nov 25, 2023
1 parent f9bbbfb commit 877c84f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 877c84f

Please sign in to comment.