Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eta
gajim
Commits
032786bf
Commit
032786bf
authored
18 years ago
by
Yann Leboulanger
Browse files
Options
Downloads
Patches
Plain Diff
build idle with corre3ct python version
parent
7eca6398
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Makefile
+1
-1
1 addition, 1 deletion
src/Makefile
src/common/Makefile
+2
-1
2 additions, 1 deletion
src/common/Makefile
with
3 additions
and
2 deletions
src/Makefile
+
1
−
1
View file @
032786bf
# Set the C flags to include the GTK+ and Python libraries
PYTHON
=
python
PYTHON
?
=
python
PYTHONVER
=
`
$(
PYTHON
)
-c
'import sys; print sys.version[:3]'
`
CFLAGS
=
`
pkg-config
--cflags
gtk+-2.0 pygtk-2.0
`
-fPIC
-I
/usr/include/python
$(
PYTHONVER
)
-I
.
LDFLAGS
=
`
pkg-config
--libs
gtk+-2.0 pygtk-2.0
`
-lpython
$(
PYTHONVER
)
...
...
This diff is collapsed.
Click to expand it.
src/common/Makefile
+
2
−
1
View file @
032786bf
# Set the C flags to include the GTK+ and Python libraries
PYTHONVER
=
`
python
-c
'import sys; print sys.version[:3]'
`
PYTHON
?=
python
PYTHONVER
=
`
$(
PYTHON
)
-c
'import sys; print sys.version[:3]'
`
HAVE_XSCRNSAVER
=
$(
shell pkg-config
--exists
xscrnsaver
&&
echo
'YES'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment