X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=test%2FBUILDSHARED;h=6b33fb90a6635d90621d530f97b811080f2f34f4;hb=b94ed0816d0b19a760621468dc0d08563aa4d121;hp=a2f015555f15781607544fc8b45fc2ad51f8029d;hpb=42438ba9d05e81cf0561da1ed9cfb18cb5464940;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/test/BUILDSHARED b/test/BUILDSHARED index a2f01555..6b33fb90 100644 --- a/test/BUILDSHARED +++ b/test/BUILDSHARED @@ -1,9 +1,9 @@ -To test the MediaFork dylib on MacOs X issue the following commands: +To test the HandBrake dylib on MacOs X issue the following commands: =================================================================== -cp ../libmediafork/libmediafork.dylib . -gcc -I../libmediafork -L. -lmediafork test.c -o test -arch i386 -arch ppc -install_name_tool -change /usr/local/lib/libmediafork.dylib @executable_path/libmediafork.dylib test +cp ../libhb/libhb.dylib . +gcc -I../libhb -L. -lhb test.c -o test -arch i386 -arch ppc +install_name_tool -change /usr/local/lib/libhb.dylib @executable_path/libhb.dylib test Validate that the test Binary is really using the shared library @@ -11,11 +11,11 @@ otool -L test ------------------------------------------------------------------------ -To test the Mediafork .so on Linux issue the following commands: +To test the HandBrake .so on Linux issue the following commands: ================================================================ -cp ../libmediafork/libmediafork.so . -gcc -I../libmediafork -L. -lmediafork test.c -o test -lz -lpthread +cp ../libhb/libhb.so . +gcc -I../libhb -L. -lhb test.c -o test -lz -lpthread Validate that the test Binary is really using the shared library @@ -23,13 +23,13 @@ ldd test ------------------------------------------------------------------------ -To test the MediaFork .dll on cygwin issue the following commands: +To test the HandBrake .dll on cygwin issue the following commands: ================================================================== -cp ../libmediafork/libmediafork.dll . -gcc -I../libmediafork -L. -lmediafork test.c -o test -lz -lpthread +cp ../libhb/libhb.dll . +gcc -I../libhb -L. -lhb test.c -o test -lz -lpthread -The resulting binary test should depend on the cygwin dll and the mediafork dll. +The resulting binary test should depend on the cygwin dll and the hb dll. I works like that but wasn't tested yet outside of cygwin.