Skip to content

Commit

Permalink
Create include headers directory before building (fix nesterenkodm#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
chebur committed Apr 14, 2015
1 parent 26bd33a commit 6cf4ca5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions openh264.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ function download() {
"${__DIR__}/download.sh" "$1" "$2" #--no-cache
}

# fix for https://github.com/chebur/pjsip/issues/19
HEADERS_DIR="${BASEDIR_PATH}/include/wels"
if [ -d "${HEADERS_DIR}" ]; then
rm -rf "${HEADERS_DIR}"
fi
mkdir -p "${HEADERS_DIR}"

# build
function build() {
ARCH="$1"
Expand Down

0 comments on commit 6cf4ca5

Please sign in to comment.