mirror of
https://github.com/chocolate-doom/chocpkg.git
synced 2024-11-23 12:42:15 +00:00
Fix library installed check.
Output cannot be truncated. Also suppress error output from gcc.
This commit is contained in:
parent
adcff97ec8
commit
4b8cce8a91
1 changed files with 3 additions and 2 deletions
|
@ -8,7 +8,8 @@ do_check() {
|
||||||
# TODO: A better way to choose compiler command?
|
# TODO: A better way to choose compiler command?
|
||||||
${CC:-gcc} \
|
${CC:-gcc} \
|
||||||
-l$PACKAGE_INSTALLED_LIB $LDFLAGS \
|
-l$PACKAGE_INSTALLED_LIB $LDFLAGS \
|
||||||
-o/dev/null \
|
-o$PACKAGE_INSTALL_DIR/__install_check \
|
||||||
-x c <( echo "int main() {}")
|
-x c <( echo "int main() {}") \
|
||||||
|
2>/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue