]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/libsatsolver
libsatsolver: Fix missing __qsort_r.
[ipfire-2.x.git] / 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 \