* Add static linking hint.
This commit is contained in:
parent
b0d5feb2a1
commit
538379f99d
4
Makefile
4
Makefile
@ -16,6 +16,8 @@ CFLAGS = -Wall -g -O3 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 \
|
||||
-I/usr/include/ffmpeg \
|
||||
-I/usr/include/libavutil -I/usr/include/libavcodec -I/usr/include/libavformat \
|
||||
-I/usr/include/ffmpeg/libavutil -I/usr/include/ffmpeg/libavcodec -I/usr/include/ffmpeg/libavformat
|
||||
#STATIC_LINKING: LDFLAGS = -static
|
||||
LDFLAGS = -static
|
||||
CC = gcc
|
||||
RM = rm -f
|
||||
INSTALL = install
|
||||
@ -59,7 +61,7 @@ install: minidlna
|
||||
|
||||
minidlna: $(BASEOBJS) $(LNXOBJS) $(LIBS)
|
||||
@echo Linking $@
|
||||
@$(CC) $(CFLAGS) -o $@ $(BASEOBJS) $(LNXOBJS) $(LIBS)
|
||||
@$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(BASEOBJS) $(LNXOBJS) $(LIBS)
|
||||
|
||||
|
||||
testupnpdescgen: $(TESTUPNPDESCGENOBJS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user