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:
parent
1925ac281a
commit
4e633016ab
|
@ -1268,7 +1268,7 @@ if uuidopt != 'none'
|
||||||
elif uuidopt == 'ossp'
|
elif uuidopt == 'ossp'
|
||||||
uuid = dependency('ossp-uuid', required: true)
|
uuid = dependency('ossp-uuid', required: true)
|
||||||
uuidfunc = 'uuid_export'
|
uuidfunc = 'uuid_export'
|
||||||
uuidheader = 'ossp/uuid.h'
|
uuidheader = 'uuid.h'
|
||||||
else
|
else
|
||||||
error('huh')
|
error('huh')
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue