mirror of https://code.videolan.org/videolan/vlc
- Fix building of vlc-config
VLC can now be built in a subdirectory
This commit is contained in:
parent
8b3d3c15aa
commit
0410da919e
|
@ -263,6 +263,10 @@ dist-hook:
|
|||
###############################################################################
|
||||
|
||||
bin_SCRIPTS = vlc-config
|
||||
CLEANFILES = $(bin_SCRIPTS)
|
||||
vlc-config: $(top_builddir)/config.status $(top_builddir)/vlc-config.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status --file=$@
|
||||
-cd $(top_builddir) && chmod 0755 $@
|
||||
|
||||
lib_LIBRARIES = lib/libvlc.a $(LIBRARIES_libvlc_pic)
|
||||
|
||||
|
|
|
@ -4282,7 +4282,10 @@ AC_CONFIG_FILES([
|
|||
modules/visualization/galaktos/Makefile
|
||||
])
|
||||
|
||||
AC_CONFIG_FILES([vlc-config], [chmod 0755 vlc-config])
|
||||
# Cannot use AC_CONFIG_FILES([vlc-config]) as is automatically built,
|
||||
# not provided with the source
|
||||
${SHELL} ./config.status --file=vlc-config
|
||||
chmod 0755 vlc-config
|
||||
|
||||
dnl Generate makefiles
|
||||
AC_OUTPUT
|
||||
|
|
Loading…
Reference in New Issue