Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
metadata-collect-agent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
metadata-collect-agent
Commits
698177e4
Commit
698177e4
authored
Feb 10, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
installation/metadata-collect-agent/Makefile: Add J's trick.
parent
a046b05e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
installation/metadata-collect-agent/Makefile
installation/metadata-collect-agent/Makefile
+7
-6
No files found.
installation/metadata-collect-agent/Makefile
View file @
698177e4
ifneq
($(PYTHON_PATH),)
# this is for buildouts
INCLUDE_PYTHON
=
-I
$(
shell
python3
-c
"import sysconfig; print(sysconfig.get_path('include'
))
"
)
INCLUDE_PYTHON
=
-I
$(
shell
python3
-c
"import sysconfig; print(sysconfig.get_path('include'
))
"
)
#ifneq ($(PYTHON_PATH),) # this is for buildouts
#INCLUDE_PYTHON=-I$(shell python3 -c "import sysconfig; print(sysconfig.get_path('include'))")
#INCLUDE_PYTHON=-I$(shell $(PYTHON_PATH)/bin/python3 -c "from sysconfig import get_paths; print(get_paths()['include'])")
endif
ifeq
($(INCLUDE_PYTHON),)
# default behavior to get python includes path
INCLUDE_PYTHON
=
$(
shell
pkg-config
--cflags
python3 |
cut
-f
1
-d
" "
)
endif
#
endif
#
ifeq ($(INCLUDE_PYTHON),) # default behavior to get python includes path
#
INCLUDE_PYTHON = $(shell pkg-config --cflags python3 | cut -f 1 -d " ")
#
endif
ifneq
($(FMTLIB_PATH),)
INCLUDE_FMTLIB
=
-I
$(FMTLIB_PATH)
/include
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment