Просмотр исходного кода

build: Append content to existing header and config file

This makes sure that the previously printed line ("autogenerated
content") stays.
David Fuhrmann 7 лет назад
Родитель
Сommit
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
 }