2015-09-10 19:36:44 +00:00
|
|
|
build: avoid using bundled shapelib
|
2016-06-28 13:00:23 +00:00
|
|
|
[asterios.dramis@gmail.com: imported the patch from Fedora into openSUSE's librecad]
|
2015-09-10 19:36:44 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
plugins/importshp/importshp.pro | 11 +++--------
|
|
|
|
1 file changed, 3 insertions(+), 8 deletions(-)
|
|
|
|
|
2021-12-20 10:28:58 +00:00
|
|
|
--- a/plugins/importshp/importshp.pro
|
|
|
|
+++ b/plugins/importshp/importshp.pro
|
2015-09-10 19:36:44 +00:00
|
|
|
@@ -17,12 +17,9 @@ include(../../common.pri)
|
|
|
|
# For plugins
|
|
|
|
INCLUDEPATH += ../../librecad/src/plugins
|
|
|
|
|
|
|
|
-SOURCES += importshp.cpp \
|
|
|
|
- shapelib/shpopen.c \
|
|
|
|
- shapelib/safileio.c \
|
|
|
|
- shapelib/dbfopen.c
|
|
|
|
-HEADERS += importshp.h \
|
|
|
|
- shapelib/shapefil.h
|
|
|
|
+SOURCES += importshp.cpp
|
|
|
|
+HEADERS += importshp.h
|
|
|
|
+LIBS += -lshp
|
|
|
|
|
2021-12-20 10:28:58 +00:00
|
|
|
# Installation Directory
|
2015-09-10 19:36:44 +00:00
|
|
|
win32 {
|
|
|
|
@@ -36,5 +33,3 @@ unix {
|
2021-12-20 10:28:58 +00:00
|
|
|
DESTDIR = ../../unix/resources/plugins
|
2015-09-10 19:36:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
-
|
|
|
|
-INCLUDEPATH += shapelib
|