diff options
author | saintdev <[email protected]> | 2008-03-23 23:54:33 +0000 |
---|---|---|
committer | saintdev <[email protected]> | 2008-03-23 23:54:33 +0000 |
commit | fef167824f93d43e6f6ab5d8e9ca167de3c92288 (patch) | |
tree | ba879148b66787be64a12381628422670a929db5 /test | |
parent | 9b6a698b3a9da70e0cd8095bd20e05ddb655e85e (diff) |
Fix Makefiles for dynamically linked dvdcss.
You can only build dynamically linked dvdcss with make.
If you want static dvdcss use jam.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1362 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/Makefile b/test/Makefile index 472eb5bc0..3a5b39c1c 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,17 +1,14 @@ SYSTEM = $(shell uname -s)
-ifeq ($(findstring CYGWIN_NT,$(SYSTEM)),CYGWIN_NT)
- LIBS = a52 mkv avformat avcodec avutil dca dvdread faac mp3lame mpeg2 vorbis vorbisenc ogg samplerate x264 xvidcore mp4v2 swscale
-else
- LIBS = a52 mkv avformat avcodec avutil dca dvdread dvdcss faac mp3lame mpeg2 vorbis vorbisenc ogg samplerate x264 xvidcore mp4v2 swscale
-endif
+LIBS = a52 mkv avformat avcodec avutil dca dvdread faac mp3lame mpeg2 vorbis \
+ vorbisenc ogg samplerate x264 xvidcore mp4v2 swscale
all: ../HandBrakeCLI
CFLAGS += -I../libhb
CXXFLAGS += -I../libhb
LIBS2 = ../libhb/libhb.a $(LIBS:%=../contrib/lib/lib%.a)
-LDFLAGS += $(LIBS2)
+LDFLAGS += $(LIBS2) -ldl
../HandBrakeCLI: test.c parsecsv.c $(LIBS2)
@CMD="$(CC) $(CFLAGS) -o test.o -c test.c"; $$CMD || \
|