Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
Build might work now?
Browse files Browse the repository at this point in the history
  • Loading branch information
dimiter committed Oct 23, 2019
1 parent 37234d7 commit 7856953
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions xmlstarlet/xmlstarlet_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ def _get_config(args, strip_prefix=""):

SOURCES = [
os.path.relpath(s, ROOT_DIR)
for s in glob(os.path.join(PY_SOURCE_DIR, "**"), recursive=True)
for s in glob(os.path.join(PY_SOURCE_DIR))
if s.endswith(".c")
] + [
os.path.relpath(s, ROOT_DIR)
for s in glob(os.path.join(C_SOURCE_DIR))
if s.endswith(".c")
]

Expand All @@ -43,7 +47,7 @@ def _get_config(args, strip_prefix=""):
FFIBUILDER.set_source(
"xmlstarlet._xmlstarlet",
"""
#include "src/xmlstar.h"
#include "xmlstar.h"
#include <libexslt/exslt.h>
""",
sources=SOURCES,
Expand Down

0 comments on commit 7856953

Please sign in to comment.