dcmtk/dcmtk-3.6.0-shared.patch

38 lines
784 B
Diff
Raw Permalink Normal View History

--- config/Makefile.def.in 2010-10-08 12:52:28.000000000 +0200
+++ config/Makefile.def.in-gil 2011-02-03 09:30:29.000000000 +0100
@@ -63,14 +63,18 @@
# ARCH =
CC = @CC@
-CFLAGS = @CFLAGS@
-CXX = @CXX@
-CXXFLAGS = @CXXFLAGS@
+SHARED_FLAGS = -fPIC -O2
+CFLAGS = $(SHARED_FLAGS) @CFLAGS@
+CXX = @CXX@
+CXXFLAGS = $(SHARED_FLAGS) @CXXFLAGS@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
-RANLIB = @RANLIB@
-AR = @AR@
-ARFLAGS = @ARFLAGS@
+# RANLIB = @RANLIB@
+RANLIB = :
+# AR = @AR@
+AR = gcc
+# ARFLAGS = @ARFLAGS@
+ARFLAGS = -shared -o
LIBS = @LIBS@
MATHLIBS = @MATHLIBS@
OPENSSLLIBS = @OPENSSLLIBS@
@@ -80,7 +84,8 @@
XMLLIBS = @XMLLIBS@
TCPWRAPPERLIBS = @TCPWRAPPERLIBS@
SNDFILELIBS = @SNDFILELIBS@
-LIBEXT = @LIBEXT@
+#LIBEXT = @LIBEXT@
+LIBEXT = so
BINEXT = @BINEXT@
#