]> git.sesse.net Git - vlc/blobdiff - modules/common.am
Proper permissions
[vlc] / modules / common.am
index ec9783e3f19d0c3454f65dcdf6316d677ca7f314..413986296430d7b0a254f8521c42cf66cb4439c8 100644 (file)
@@ -7,7 +7,7 @@
 
 NULL =
 SUFFIXES =
-libvlcdir = $(libdir)/vlc/$(basedir)
+libvlcdir = $(vlclibdir)/$(basedir)
 EXTRA_DIST = Modules.am
 BUILT_SOURCES =
 CLEANFILES = $(BUILT_SOURCES)
@@ -25,6 +25,12 @@ AM_LDFLAGS = -rpath '$(libvlcdir)' \
 AM_LIBADD = `$(VLC_CONFIG) -libs plugin $@`
 if HAVE_WIN32
 # Windows does not support undefined symbols
+AM_LDFLAGS += -no-undefined
+AM_LIBADD += $(LTLIBVLCCORE)
+endif
+if HAVE_WINCE
+# Same for Windows CE
+AM_LDFLAGS += -no-undefined
 AM_LIBADD += $(LTLIBVLCCORE)
 endif