Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC Browser Plugins
Commits
50e2b58b
Commit
50e2b58b
authored
Jan 28, 2014
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
npapi/makefile: remove broken and dead code
parent
38f8fc3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
npapi/Makefile.am
npapi/Makefile.am
+0
-25
No files found.
npapi/Makefile.am
View file @
50e2b58b
...
...
@@ -152,22 +152,6 @@ libvlcplugin_la_LDFLAGS += \
noinst_DATA
=
VLC-Plugin.plugin
CLEANFILES
+=
VLC-Plugin.plugin
#
# Plugin uses shared libraries that are located relatively through @executable_path,
# which unfortunately references the path of the App using the Plugin, rather than the
# Plugin itself. Since this Plugin should always be installed in '/Library/Internet Plug-Ins',
# it is safer to force dylibs to locate dependents through a fixed path
#
define
FIXEXECPATH
otool
-L
"$$dylib"
|
\
awk
-v
libdylib
=
"
$$
dylib"
' \
/@executable_path/ { \
newpath=$$1 ; \
sub("@executable_path","/Library/Internet Plug-Ins/VLC Plugin.plugin/Contents/MacOS",newpath) ; \
print "install_name_tool -change \""$$1"\" \""newpath"\" \""libdylib"\"" ; \
}'
| sh
-x
endef
VLC-Plugin.plugin
:
$(lib_LTLIBRARIES)
rm
-Rf
"
$(top_builddir)
/
$@
"
$(INSTALL)
-d
"
$(top_builddir)
/VLC-Plugin.plugin/Contents/MacOS/lib"
...
...
@@ -182,13 +166,4 @@ VLC-Plugin.plugin: $(lib_LTLIBRARIES)
find
"
$(top_builddir)
/VLC-Plugin.plugin"
-type
d
-exec
chmod
ugo+rx
'{}'
\;
find
"
$(top_builddir)
/VLC-Plugin.plugin"
-type
f
-exec
chmod
ugo+r
'{}'
\;
# uncomment if dependencies on XPCOM libs is sought
# if test -d "$(MOZILLA_SDK_PATH)/lib"; then \
# for i in "$(MOZILLA_SDK_PATH)"/lib/*.dylib ; do \
# dylib="$(srcdir)/$@/Contents/MacOS/`basename $${i}`" ; \
# $(INSTALL) -m 644 "$${i}" "$$dylib" ; \
# $(FIXEXECPATH); \
# done ; \
# fi
endif
# Mac
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment