aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2010-10-21 23:05:17 +0000
committerAndreas Oberritter <obi@opendreambox.org>2010-11-16 16:08:51 +0100
commit019078f72b33340423bfc84691b0d708041cd86f (patch)
treea0acf68c902b051ddb3da8d2361a143f987c89f5
parent567cdcb4aca0b40ec7017459642f135d6139e585 (diff)
downloadenigma2-019078f72b33340423bfc84691b0d708041cd86f.tar.gz
enigma2-019078f72b33340423bfc84691b0d708041cd86f.zip
libopen: build with libtool
-rw-r--r--configure.ac2
-rw-r--r--tools/Makefile.am11
2 files changed, 4 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index b6e2d95a..c8aeb27a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@ TUXBOX_APPS_DIRECTORY
AC_PROG_CC
AC_PROG_CXX
-AC_PROG_RANLIB
+LT_INIT
AC_CONFIG_MACRO_DIR([m4])
AC_ARG_WITH(libsdl,
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 82301a61..4e1e8efd 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,9 +1,4 @@
-libopen.so.0.0: libopen.c
- $(CXX) -Wall -W libopen.c -O2 -nostartfiles -shared -fPIC -Wl,-soname,libopen.so.0 -o libopen.so.0.0 -ldl
+lib_LTLIBRARIES = libopen.la
-all: libopen.so.0.0
-
-CLEANFILES = libopen.so.0.0
-
-install: all
- $(INSTALL) libopen.so.0.0 $(DESTDIR)/usr/lib
+libopen_la_SOURCES = libopen.c
+libopen_la_LIBADD = -ldl