Skip to content
Snippets Groups Projects
Commit 76c546a1 authored by akiraohgaki's avatar akiraohgaki
Browse files

Use system libcurl.so

parent 76362283
No related branches found
No related tags found
No related merge requests found
...@@ -21,5 +21,5 @@ unix:!ios:!android { ...@@ -21,5 +21,5 @@ unix:!ios:!android {
$${PWD}/AppImageUpdate-prebuilt/lib/zsync2/lib/libzsync/libzsync.a \ $${PWD}/AppImageUpdate-prebuilt/lib/zsync2/lib/libzsync/libzsync.a \
$${PWD}/AppImageUpdate-prebuilt/lib/zsync2/lib/librcksum/librcksum.a $${PWD}/AppImageUpdate-prebuilt/lib/zsync2/lib/librcksum/librcksum.a
LIBS += -L$${PWD}/AppImageUpdate-prebuilt/lib/ -lcurl LIBS += -lcurl
} }
...@@ -14,6 +14,6 @@ fi ...@@ -14,6 +14,6 @@ fi
if [ ! -d "${PROJDIR}/lib/AppImageUpdate-prebuilt" ]; then if [ ! -d "${PROJDIR}/lib/AppImageUpdate-prebuilt" ]; then
mkdir "${PROJDIR}/lib/AppImageUpdate-prebuilt" mkdir "${PROJDIR}/lib/AppImageUpdate-prebuilt"
cd "${PROJDIR}/lib/AppImageUpdate-prebuilt" cd "${PROJDIR}/lib/AppImageUpdate-prebuilt"
cmake "${PROJDIR}/lib/AppImageUpdate" -DUSE_SYSTEM_CURL=OFF -DBUILD_CPR_TESTS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo cmake "${PROJDIR}/lib/AppImageUpdate" -DUSE_SYSTEM_CURL=ON -DBUILD_CPR_TESTS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo
make libappimageupdate make libappimageupdate
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment