diff --git a/trunk/.gitignore b/trunk/.gitignore index 8c4b60d35..103fd2efd 100644 --- a/trunk/.gitignore +++ b/trunk/.gitignore @@ -1,5 +1,6 @@ .idea/ /*.conf +/*.flv /doc/frozen*.flv /doc/kungfupanda*.flv /doc/time*.flv diff --git a/trunk/configure b/trunk/configure index 7c792a022..1aab248f4 100755 --- a/trunk/configure +++ b/trunk/configure @@ -92,7 +92,9 @@ WarnLevel=" -Wall" # the compile standard. CppStd="-ansi" # for library compile -LibraryCompile=" -fPIC" +if [[ $SRS_EXPORT_LIBRTMP_PROJECT == YES ]]; then + LibraryCompile=" -fPIC" +fi # performance of gprof SrsGprof=""; SrsGprofLink=""; if [ $SRS_GPROF = YES ]; then SrsGprof=" -pg -lc_p"; SrsGprofLink=" -pg"; fi # performance of gperf