mirror of
https://github.com/numtide/devshell.git
synced 2024-09-11 13:45:25 +03:00
fix(c): add LDFLAGS
automatically
This env var fixes building `python-ldap` in a pdm python project when `openldap` is added to `language.c.libraries`.
This commit is contained in:
parent
1ebbe68d57
commit
29d72b2a02
@ -45,6 +45,10 @@ with lib;
|
||||
name = "LD_LIBRARY_PATH";
|
||||
prefix = "$DEVSHELL_DIR/lib";
|
||||
}
|
||||
{
|
||||
name = "LDFLAGS";
|
||||
eval = "-L$DEVSHELL_DIR/lib";
|
||||
}
|
||||
])
|
||||
++ lib.optionals hasIncludes [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user