mirror of https://git.ffmpeg.org/ffmpeg.git
Put double-quotes around the install path in the "install-headers" section
of the makefiles for libavcodec, libavformat and libavutil. Fixes installing into paths with spaces in them, i.e. Windows. patch by Fredrik Orderud < fredrik . orderud -- at -- idi . ntnu . no > Originally committed as revision 4680 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7c017693c9
commit
25f8db58ee
|
@ -494,8 +494,8 @@ install-headers:
|
||||||
mkdir -p "$(prefix)/include/ffmpeg"
|
mkdir -p "$(prefix)/include/ffmpeg"
|
||||||
install -m 644 $(SRC_PATH)/libavcodec/avcodec.h \
|
install -m 644 $(SRC_PATH)/libavcodec/avcodec.h \
|
||||||
"$(prefix)/include/ffmpeg"
|
"$(prefix)/include/ffmpeg"
|
||||||
install -d $(libdir)/pkgconfig
|
install -d "$(libdir)/pkgconfig"
|
||||||
install -m 644 ../libavcodec.pc $(libdir)/pkgconfig
|
install -m 644 ../libavcodec.pc "$(libdir)/pkgconfig"
|
||||||
|
|
||||||
#
|
#
|
||||||
# include dependency files if they exist
|
# include dependency files if they exist
|
||||||
|
|
|
@ -130,8 +130,8 @@ install-headers:
|
||||||
$(SRC_PATH)/libavformat/rtp.h $(SRC_PATH)/libavformat/rtsp.h \
|
$(SRC_PATH)/libavformat/rtp.h $(SRC_PATH)/libavformat/rtsp.h \
|
||||||
$(SRC_PATH)/libavformat/rtspcodes.h \
|
$(SRC_PATH)/libavformat/rtspcodes.h \
|
||||||
"$(prefix)/include/ffmpeg"
|
"$(prefix)/include/ffmpeg"
|
||||||
install -d $(libdir)/pkgconfig
|
install -d "$(libdir)/pkgconfig"
|
||||||
install -m 644 ../libavformat.pc $(libdir)/pkgconfig
|
install -m 644 ../libavformat.pc "$(libdir)/pkgconfig"
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
$(CC) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $<
|
$(CC) $(CFLAGS) $(LIBOBJFLAGS) -c -o $@ $<
|
||||||
|
|
|
@ -84,8 +84,8 @@ install-headers:
|
||||||
$(SRC_PATH)/libavutil/rational.h \
|
$(SRC_PATH)/libavutil/rational.h \
|
||||||
$(SRC_PATH)/libavutil/intfloat_readwrite.h \
|
$(SRC_PATH)/libavutil/intfloat_readwrite.h \
|
||||||
"$(prefix)/include/ffmpeg"
|
"$(prefix)/include/ffmpeg"
|
||||||
install -d $(libdir)/pkgconfig
|
install -d "$(libdir)/pkgconfig"
|
||||||
install -m 644 ../libavutil.pc $(libdir)/pkgconfig
|
install -m 644 ../libavutil.pc "$(libdir)/pkgconfig"
|
||||||
|
|
||||||
#
|
#
|
||||||
# include dependency files if they exist
|
# include dependency files if they exist
|
||||||
|
|
Loading…
Reference in New Issue