mirror of
https://github.com/ossrs/srs.git
synced 2025-02-14 20:31:56 +00:00
fix script generate auto header bug, always create file
This commit is contained in:
parent
8239174e97
commit
6bc18f2e44
2 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables, parent script must set it:
|
||||
# SRS_AUTO_HEADERS_H: the auto generated header file.
|
||||
|
||||
#####################################################################################
|
||||
#####################################################################################
|
||||
|
|
1
trunk/configure
vendored
1
trunk/configure
vendored
|
@ -30,6 +30,7 @@ if [[ -f Makefile ]]; then
|
|||
fi
|
||||
|
||||
# write user options to headers
|
||||
echo "// auto generated by configure" > $SRS_AUTO_HEADERS_H
|
||||
echo "#ifndef SRS_AUTO_HEADER_HPP" >> $SRS_AUTO_HEADERS_H
|
||||
echo "#define SRS_AUTO_HEADER_HPP" >> $SRS_AUTO_HEADERS_H
|
||||
echo "" >> $SRS_AUTO_HEADERS_H
|
||||
|
|
Loading…
Reference in a new issue