From 4ab57a9a45907b032a3bb53b427a7ab1eeff2a50 Mon Sep 17 00:00:00 2001 From: Slava Monich Date: Tue, 7 Jul 2015 13:11:16 +0300 Subject: [PATCH] Moved library stubs into a separate directory --- app/app.pro | 9 ++++++--- app/{src/expat.c => stubs/libexpat.c} | 0 app/{src/magic.c => stubs/libmagic.c} | 0 app/{src => stubs}/libudev.c | 0 4 files changed, 6 insertions(+), 3 deletions(-) rename app/{src/expat.c => stubs/libexpat.c} (100%) rename app/{src/magic.c => stubs/libmagic.c} (100%) rename app/{src => stubs}/libudev.c (100%) diff --git a/app/app.pro b/app/app.pro index 647355f..80d6c5c 100644 --- a/app/app.pro +++ b/app/app.pro @@ -106,13 +106,16 @@ SOURCES += \ src/BooksTextStyle.cpp \ src/BooksTaskQueue.cpp \ src/BooksTextView.cpp \ - src/expat.c \ - src/libudev.c \ - src/magic.c \ src/main.cpp \ src/ZLApplication.cpp \ src/ZLibrary.cpp +# Stubs for the libraries not allowed in harbour +SOURCES += \ + stubs/libexpat.c \ + stubs/libmagic.c \ + stubs/libudev.c + HEADERS += \ src/BooksBook.h \ src/BooksBookModel.h \ diff --git a/app/src/expat.c b/app/stubs/libexpat.c similarity index 100% rename from app/src/expat.c rename to app/stubs/libexpat.c diff --git a/app/src/magic.c b/app/stubs/libmagic.c similarity index 100% rename from app/src/magic.c rename to app/stubs/libmagic.c diff --git a/app/src/libudev.c b/app/stubs/libudev.c similarity index 100% rename from app/src/libudev.c rename to app/stubs/libudev.c