Changeset 16697 in niluje
- Timestamp:
- Nov 18, 2019, 7:42:06 PM (3 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Configs/trunk/Kindle/Misc/MesonCross.tpl
r16646 r16697 17 17 strip = '%STRIP%' # $(command -v ${CROSS_TC}-strip) 18 18 # NOTE: Because setting PKG_CONFIG_SYSROOT_DIR usually fucks everything up, work it around... 19 # c.f., the NOTE on sys_root below...19 # c.f., the NOTEs on sys_root below... 20 20 # Of course, we can't pass options to pkgconfig here, so we have to use a shell wrapper... 21 pkgconfig = '%PKGCONFIG%' # Other than that, we don't need a cross pkg-config, just to swap the search paths 21 #pkgconfig = '%PKGCONFIG%' # Other than that, we don't need a cross pkg-config, just to swap the search paths 22 # NOTE: But, since we're now avoiding the whole PKG_CONFIG_SYSROOT_DIR mess, just use our native pkg-config, 23 # we're already asking it to only look for cross .pc files via PKG_CONFIG_LIBDIR, 24 # and said cross .pc files already feed us prefixed paths. 25 pkgconfig = '/usr/bin/pkg-config' 22 26 #exe_wrapper = 'qemu-arm-static' # The whole point was not having to use qemu, so, no, thanks. 23 27 … … 45 49 #sys_root = '%SYSROOT%' # ${HOME}/x-tools/${CROSS_TC}/${CROSS_TC}/sysroot 46 50 # NOTE: Except this is used to set PKG_CONFIG_SYSROOT_DIR since meson 0.52, so we actually want to use %PREFIX% here... 47 # This also happens to usually be extremely harmful, so we already work around it in pkg-config... 48 sys_root = '%PREFIX%' # c.f., below 51 # This also happens to usually be extremely harmful, so we work around it in a pkg-config wrapper... 52 # NOTE: The good news is, this is apparently not used anywhere except to fuck pkg-config up. 53 # You'd think this would be used to pass --sysroot to the compiler, but, apparently, no. 54 # So, just don't set it, it makes our lives markedly easier. 55 #sys_root = '%PREFIX%' # c.f., below 49 56 50 57 # Where we'll stuff custom properties if need be
Note: See TracChangeset
for help on using the changeset viewer.