View Issue Details

IDProjectCategoryView StatusLast Update
0002030SOGoSOPEpublic2012-10-18 13:17
Reporterbuzzdee Assigned Towsourdeau 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.0.1 
Target Version2.0.2 
Summary0002030: SOPE libNGExtensions unconditionally links against libobjc -- with patch
Description

In the GNUMakefile.preable of libNGExtensions its told to link against -lobjc. This is not so good, since the rest of it is linked against -lobjc2. Its the only place I found where -lobjc is explicitly added to the list of libraries. GNUstep Make takes care about selecting the right objective c runtime, therefore my attached patch just removes it from the list.
Without the patch, the resulting libNGExtensions.so.X.X is linked against libobjc.so and libobjc2.so, which is bad.
On at least OpenBSD, the new libobjc runtime is installed as libobjc2 in order to not conflict with the "old" libobjc runtime installed with the base system or others from the ports tree.

TagsNo tags attached.

Activities

2012-10-13 16:14

 

patch-sope-core_NGExtensions_GNUmakefile_preamble (362 bytes)   
$OpenBSD$

we link against libobjc2 not libobjc

--- sope-core/NGExtensions/GNUmakefile.preamble.orig	Sat Oct 13 14:00:26 2012
+++ sope-core/NGExtensions/GNUmakefile.preamble	Sat Oct 13 14:00:41 2012
@@ -23,7 +23,6 @@ endif
 
 libNGExtensions_LIBRARIES_DEPEND_UPON += \
 	-lEOControl -lDOM -lSaxObjC \
-	-lobjc \
 	-lz
 
 NGExtensions_LIBRARIES_DEPEND_UPON += \
wsourdeau

wsourdeau

2012-10-18 13:17

viewer   ~0004672

Done.

Issue History

Date Modified Username Field Change
2012-10-13 16:14 buzzdee New Issue
2012-10-13 16:14 buzzdee File Added: patch-sope-core_NGExtensions_GNUmakefile_preamble
2012-10-13 17:05 wsourdeau Status new => assigned
2012-10-13 17:05 wsourdeau Assigned To => wsourdeau
2012-10-13 17:05 wsourdeau Target Version => 2.0.2
2012-10-18 13:17 wsourdeau Note Added: 0004672
2012-10-18 13:17 wsourdeau Status assigned => resolved
2012-10-18 13:17 wsourdeau Resolution open => fixed