diff options
| author | Jo-Philipp Wich <jow@openwrt.org> | 2015-06-26 14:51:16 +0200 |
|---|---|---|
| committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-06-26 14:55:33 +0200 |
| commit | abcadcbedea6fd6167022c008524ce99279d210a (patch) | |
| tree | 4c5c437a8902253c836ef895b015b6271ec75c17 /lang/python/python3/files/python3-package-lib2to3.mk | |
| parent | 3788dd697b642c09eb6fb868e07b045453ab60d1 (diff) | |
postfix: fix musl compatibility
The current package patches `makedefs` to probe for the existance
of the `nsl` and `resolv` libraries but uses the wrong variables
for the prefix, leading to `makedefs` probing the host directories,
not the staging dir ones.
Replace `$PKG_BUILD_DIR` with `$STAGING_DIR` to perform the library
tests in the correct directory.
Fixes the following error spotted by doing test builds against musl
which does not provide a `libnsl`:
.../mips-openwrt-linux-musl/bin/ld: cannot find -lnsl
collect2: error: ld returned 1 exit status
make: *** [master] Error 1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'lang/python/python3/files/python3-package-lib2to3.mk')
0 files changed, 0 insertions, 0 deletions
