Package: julia / 0.4.7-6

libjulia-release-drop-soname.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
Description: Do not give a SONAME to libjulia-release.so
 Otherwise the fact that this SONAME is unversioned confuses dpkg-shlibdeps and
 dh_makeshlibs. And we don't want a versioned SONAME for now, the API is not
 stabilized.
Author: S├ębastien Villemot <sebastien@debian.org>
Forwarded: no
Last-Update: 2012-12-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/Makefile
+++ b/src/Makefile
@@ -147,11 +147,7 @@
 	@$(call PRINT_LINK, ar -rcs $@ $(DOBJS))
 libjulia-debug: $(build_shlibdir)/libjulia-debug.$(SHLIB_EXT)
 
-ifeq ($(SHLIB_EXT), so)
-  SONAME = -Wl,-soname=libjulia.so
-else
-  SONAME =
-endif
+SONAME =
 
 $(build_shlibdir)/libjulia.$(SHLIB_EXT): julia.expmap $(OBJS) $(BUILDDIR)/flisp/libflisp.a $(BUILDDIR)/support/libsupport.a $(LIBUV)
 	@$(call PRINT_LINK, $(CXXLD) $(CXXFLAGS) $(CXXLDFLAGS) $(SHIPFLAGS) $(OBJS) $(RPATH_ORIGIN) -o $@ $(LDFLAGS) $(JLIBLDFLAGS) $(RELEASE_LIBS) $(SONAME)) $(CXXLDFLAGS)