Package: portsmf / 0.1~svn20101010-5

libtool-support.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description: Add libtool support for .so file creation.
Author: Benjamin Drung <bdrung@debian.org>

--- a/Makefile.am
+++ b/Makefile.am
@@ -6,10 +6,10 @@
 ACLOCAL_AMFLAGS = -I autotools/m4
 
 # define the output library (link with -lportSMF)
-lib_LIBRARIES = libportSMF.a
+lib_LTLIBRARIES = libportSMF.la
 
 # define the source files to use
-libportSMF_a_SOURCES = allegro.cpp \
+libportSMF_la_SOURCES = allegro.cpp \
 	allegrosmfwr.cpp \
 	allegrord.cpp \
 	allegrowr.cpp \
--- a/configure.ac
+++ b/configure.ac
@@ -51,6 +51,8 @@
 dnl and ranlib for static libraries
 AC_PROG_RANLIB
 
+AC_PROG_LIBTOOL
+
 dnl Make the install prefix available to the program so that the pkg-config file
 dnl can be created correctly
 AC_PREFIX_DEFAULT(/usr/local)