Commit 07485e70 authored by massiot's avatar massiot

* Makefile: change LDFLAGS into LDLIBS to avoid problems with some linkers,

   patch by thresh.


git-svn-id: svn://svn.videolan.org/dvblast/trunk@121 55d3f8b6-4a41-4d2d-a900-313d1436a5b8
parent 5f7ecc0e
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
CFLAGS += -Wall -O3 -fomit-frame-pointer CFLAGS += -Wall -O3 -fomit-frame-pointer
CFLAGS += -g CFLAGS += -g
CFLAGS += -I/usr/src/kernel/linux-2.6.29.1/include CFLAGS += -I/usr/src/kernel/linux-2.6.29.1/include
LDFLAGS += -lrt LDLIBS += -lrt
LDFLAGS_DVBLAST += -ldvbpsi -lpthread LDLIBS_DVBLAST += -ldvbpsi -lpthread
OBJ_DVBLAST = dvblast.o util.o dvb.o udp.o asi.o demux.o output.o en50221.o comm.o OBJ_DVBLAST = dvblast.o util.o dvb.o udp.o asi.o demux.o output.o en50221.o comm.o
OBJ_DVBLASTCTL = util.o dvblastctl.o OBJ_DVBLASTCTL = util.o dvblastctl.o
...@@ -19,7 +19,7 @@ all: dvblast dvblastctl ...@@ -19,7 +19,7 @@ all: dvblast dvblastctl
$(OBJ_DVBLAST) $(OBJ_DVBLASTCTL): Makefile dvblast.h en50221.h comm.h version.h asi.h $(OBJ_DVBLAST) $(OBJ_DVBLASTCTL): Makefile dvblast.h en50221.h comm.h version.h asi.h
dvblast: $(OBJ_DVBLAST) dvblast: $(OBJ_DVBLAST)
$(CC) -o $@ $(OBJ_DVBLAST) $(LDFLAGS_DVBLAST) $(LDFLAGS) $(CC) -o $@ $(OBJ_DVBLAST) $(LDLIBS_DVBLAST) $(LDLIBS)
dvblastctl: $(OBJ_DVBLASTCTL) dvblastctl: $(OBJ_DVBLASTCTL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment