1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-26 01:22:12 +03:00

meson: fix header path of ossp-uuid

The ossp-uuid pkg-config file includes the necessary -I to include the header
as uuid.h. Previously this would only work if ossp-uuid has its headers in
ossp/ in an already searched path.

Reported-by: Andrew Dunstan <andrew@dunslane.net>
Discussion: https://postgr.es/m/7bb8b8a5-5297-ab3c-3412-466fd0124d00@dunslane.net
This commit is contained in:
Andres Freund
2023-03-10 17:18:52 -08:00
parent 1925ac281a
commit 4e633016ab

View File

@ -1268,7 +1268,7 @@ if uuidopt != 'none'
elif uuidopt == 'ossp'
uuid = dependency('ossp-uuid', required: true)
uuidfunc = 'uuid_export'
uuidheader = 'ossp/uuid.h'
uuidheader = 'uuid.h'
else
error('huh')
endif