mirror of
https://github.com/chocolate-doom/chocpkg.git
synced 2024-11-27 06:22:07 +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?
|
||||
${CC:-gcc} \
|
||||
-l$PACKAGE_INSTALLED_LIB $LDFLAGS \
|
||||
-o/dev/null \
|
||||
-x c <( echo "int main() {}")
|
||||
-o$PACKAGE_INSTALL_DIR/__install_check \
|
||||
-x c <( echo "int main() {}") \
|
||||
2>/dev/null
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue