1 diff --git a/ext/soup/gstsouploader.c b/ext/soup/gstsouploader.c
2 index 85a033668e..8082b2614d 100644
3 --- a/ext/soup/gstsouploader.c
4 +++ b/ext/soup/gstsouploader.c
5 @@ -197,7 +197,7 @@ gst_soup_load_library (void)
7 if (!libsoup_sonames[0]) {
8 GST_DEBUG ("Trying all libsoups");
9 - libsoup_sonames[0] = LIBSOUP_3_SONAME;
10 + libsoup_sonames[0] = "@nixLibSoup3Path@/" LIBSOUP_3_SONAME;
11 libsoup_sonames[1] = LIBSOUP_2_SONAME;
14 @@ -216,7 +216,7 @@ gst_soup_load_library (void)
15 GST_DEBUG ("LibSoup 2 found");
17 GST_DEBUG ("Trying all libsoups");
18 - libsoup_sonames[0] = LIBSOUP_3_SONAME;
19 + libsoup_sonames[0] = "@nixLibSoup3Path@/" LIBSOUP_3_SONAME;
20 libsoup_sonames[1] = LIBSOUP_2_SONAME;