diff --git a/libretroshare/src/use_libretroshare.pri b/libretroshare/src/use_libretroshare.pri
index 4d4e00061..47b657222 100644
--- a/libretroshare/src/use_libretroshare.pri
+++ b/libretroshare/src/use_libretroshare.pri
@@ -15,10 +15,6 @@
# You should have received a copy of the GNU Affero General Public License #
# along with this program. If not, see . #
################################################################################
-DEPENDPATH *= $$system_path($$clean_path($$PWD/../../libresapi/src))
-INCLUDEPATH *= $$system_path($$clean_path($${PWD}/../../libresapi/src))
-LIBS *= -L$$system_path($$clean_path($${OUT_PWD}/../../libresapi/src/lib/)) -lresapi
-
DEPENDPATH *= $$system_path($$clean_path($${PWD}/../../libretroshare/src/))
INCLUDEPATH *= $$system_path($$clean_path($${PWD}/../../libretroshare/src))
LIBS *= -L$$system_path($$clean_path($${OUT_PWD}/../../libretroshare/src/lib/)) -lretroshare
diff --git a/openpgpsdk/src/use_openpgpsdk.pri b/openpgpsdk/src/use_openpgpsdk.pri
index 0e776f5b4..115f88d67 100644
--- a/openpgpsdk/src/use_openpgpsdk.pri
+++ b/openpgpsdk/src/use_openpgpsdk.pri
@@ -15,10 +15,6 @@
# You should have received a copy of the GNU Affero General Public License #
# along with this program. If not, see . #
################################################################################
-DEPENDPATH *= $$system_path($$clean_path($$PWD/../../libresapi/src))
-INCLUDEPATH *= $$system_path($$clean_path($${PWD}/../../libresapi/src))
-LIBS *= -L$$system_path($$clean_path($${OUT_PWD}/../../libresapi/src/lib/)) -lresapi
-
DEPENDPATH *= $$system_path($$clean_path($${PWD}/../../openpgpsdk/src))
INCLUDEPATH *= $$system_path($$clean_path($${PWD}/../../openpgpsdk/src))
LIBS *= -L$$system_path($$clean_path($${OUT_PWD}/../../openpgpsdk/src/lib/)) -lops