]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
libsatsolver: Fix missing __qsort_r.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 13 May 2011 17:48:43 +0000 (19:48 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 13 May 2011 17:48:43 +0000 (19:48 +0200)
Our version of glibc does not provide __qsort_r so we need to ship
another one.

lfs/libsatsolver

index 771430b6b407ed39a9e60db8f23b3008545c4762..778375a2e64c70af7fb20f0160fac0ce6f2e6e04 100644 (file)
@@ -93,6 +93,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        # do not support RPM.
        cd $(DIR_APP) && sed -e "s/DEBIAN/FEDORA/g" -i ext/CMakeLists.txt
 
+       # Our version of glibc has no __qsort_r
+       cd $(DIR_APP) && echo "#define USE_OWN_QSORT" >> src/util.h
+
        cd $(DIR_APP) && mkdir build
        cd $(DIR_APP)/build && cmake .. -DFEDORA=1 \
                -DCMAKE_INSTALL_PREFIX=/usr \