소스 검색

build: Append content to existing header and config file

This makes sure that the previously printed line ("autogenerated
content") stays.
David Fuhrmann 7 년 전
부모
커밋
ffa337f260
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      compileAndBuildVLCKit.sh

+ 2 - 2
compileAndBuildVLCKit.sh

@@ -941,8 +941,8 @@ build_universal_static_lib() {
 
     BUILTINS="$BUILTINS NULL\n};\n"
 
-    echo "$DEFINITIONS\n$BUILTINS" > $PROJECT_DIR/Resources/MobileVLCKit/vlc-plugins-$OSSTYLE.h
-    echo "VLC_PLUGINS_LDFLAGS=$LDFLAGS" > $PROJECT_DIR/Resources/MobileVLCKit/vlc-plugins-$OSSTYLE.xcconfig
+    echo "$DEFINITIONS\n$BUILTINS" >> $PROJECT_DIR/Resources/MobileVLCKit/vlc-plugins-$OSSTYLE.h
+    echo "VLC_PLUGINS_LDFLAGS=$LDFLAGS" >> $PROJECT_DIR/Resources/MobileVLCKit/vlc-plugins-$OSSTYLE.xcconfig
 
     spopd # vlc
 }