aboutsummaryrefslogtreecommitdiff
path: root/lib/gtk-vlc-player/Makefile.am
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-05-10 01:13:45 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-05-10 01:13:45 +0200
commitb8d518dad6e927137dc76831b7694658366572cd (patch)
treea0036d4e07df366922369a5baa14449a6c77da13 /lib/gtk-vlc-player/Makefile.am
parent3c5ebf3a2153de55e07786ddbb9cfc54debe85f2 (diff)
downloadexperiment-player-b8d518dad6e927137dc76831b7694658366572cd.tar.gz
fixed DLL building and Glade catalog on Windows
* removed libtool -module flag: it should be used for dlopen libs (gtk-vlc-player is dlopened by Glade) but had no visible impact on building the library. also it prevented installation of the library into the bindir! * explicitly specify bindir for DLL installations (it may and will be set independently of the libdir but libtool assumes LIBDIR/../bin by default) * avoid-versioning. that way the DLL name is predictable - it must be known for the glade catalog which has been adapted to cover both the Linux and Windows shared library names.
Diffstat (limited to 'lib/gtk-vlc-player/Makefile.am')
-rw-r--r--lib/gtk-vlc-player/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gtk-vlc-player/Makefile.am b/lib/gtk-vlc-player/Makefile.am
index 6ee70a5..467c630 100644
--- a/lib/gtk-vlc-player/Makefile.am
+++ b/lib/gtk-vlc-player/Makefile.am
@@ -8,7 +8,8 @@ libgtk_vlc_player_la_SOURCES = gtk-vlc-player.c gtk-vlc-player.h
libgtk_vlc_player_la_CFLAGS = $(AM_CFLAGS) \
@LIBGTK_CFLAGS@ @LIBVLC_CFLAGS@
libgtk_vlc_player_la_LIBADD = @LIBGTK_LIBS@ @LIBVLC_LIBS@
-libgtk_vlc_player_la_LDFLAGS = -no-undefined -shared -module
+libgtk_vlc_player_la_LDFLAGS = -no-undefined -shared -bindir @bindir@ \
+ -avoid-version
include_HEADERS = gtk-vlc-player.h