Skip to content

Commit

Permalink
Try to fix installing python-ldap
Browse files Browse the repository at this point in the history
  • Loading branch information
rnixx committed Feb 5, 2024
1 parent 908a3b9 commit 311e74a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -277,14 +277,13 @@ CLEAN_TARGETS+=mxenv-clean
# python-ldap
##############################################################################

# case `system.dependencies` domain is included
SYSTEM_DEPENDENCIES+=python3-dev libldap2-dev libssl-dev

PYTHON_LDAP_TARGET:=$(SENTINEL_FOLDER)/python-ldap.sentinel
$(PYTHON_LDAP_TARGET): $(MXENV_TARGET) $(OPENLDAP_TARGET)
@$(MXENV_PATH)pip install \
--force-reinstall \
--global-option=build_ext \
--global-option="-I$(OPENLDAP_DIR)/include" \
--global-option="-L$(OPENLDAP_DIR)/lib" \
--global-option="-R$(OPENLDAP_DIR)/lib" \
python-ldap
@touch $(PYTHON_LDAP_TARGET)

Expand Down

0 comments on commit 311e74a

Please sign in to comment.