Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Knot DNS Resolver
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Daniel Kahn Gillmor
Knot DNS Resolver
Commits
5bf7293a
Commit
5bf7293a
authored
Aug 04, 2015
by
Marek Vavruša
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: do not require Python libraries now
parent
40581002
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
10 deletions
+1
-10
Makefile
Makefile
+1
-1
platform.mk
platform.mk
+0
-8
tests/unit.mk
tests/unit.mk
+0
-1
No files found.
Makefile
View file @
5bf7293a
...
...
@@ -25,7 +25,7 @@ $(eval $(call find_lib,cmocka))
$(eval
$(call
find_bin,doxygen))
$(eval
$(call
find_bin,sphinx-build))
$(eval
$(call
find_bin,gccgo))
$(eval
$(call
find_python))
$(eval
$(call
find_
bin,
python))
$(eval
$(call
find_lib,libmemcached,1.0))
$(eval
$(call
find_lib,hiredis))
$(eval
$(call
find_lib,socket_wrapper))
...
...
platform.mk
View file @
5bf7293a
...
...
@@ -117,11 +117,3 @@ define find_bin
$(1)
:=
$$
(
$(1)
_BIN
)
endif
endef
# Find Python
define
find_python
python_CFLAGS
:=
$(
shell
$(PYTHON)
-c
"from distutils import sysconfig as c;print('-I%s' % c.get_python_inc(
))
"
)
python_LIBS
:=
$(
shell
$(PYTHON)
-c
"from distutils import sysconfig as c;print('-L%s -lpython%s' % (c.get_config_var('LIBDIR'
)
, c.get_config_var('VERSION'
)))
"
)
$(call
have_lib,python)
endef
tests/unit.mk
View file @
5bf7293a
...
...
@@ -26,7 +26,6 @@ tests_LIBS := $(libkres_TARGET) $(libkres_LIBS) $(cmocka_LIBS)
# Make test binaries
define
make_test
$(1)_CFLAGS
:=
-Wno-deprecated-declarations
$(1)_SOURCES
:=
tests/
$(1)
.c
$(1)_LIBS
:=
$(tests_LIBS)
$(1)_DEPEND
:=
$(tests_DEPEND)
...
...
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