-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
111 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/libexslt/libexslt.h b/libexslt/libexslt.h | ||
index af68f7d4..5b1ace7f 100644 | ||
--- a/libexslt/libexslt.h | ||
+++ b/libexslt/libexslt.h | ||
@@ -9,7 +9,7 @@ | ||
#ifndef __XSLT_LIBEXSLT_H__ | ||
#define __XSLT_LIBEXSLT_H__ | ||
|
||
-#if defined(_WIN32) && !defined (__MINGW32__) | ||
+#if defined(_WIN32) && !defined (__MINGW32__) && 0 | ||
#include <win32config.h> | ||
#else | ||
#include "config.h" | ||
diff --git a/libxslt/libxslt.h b/libxslt/libxslt.h | ||
index f81066c0..3344c570 100644 | ||
--- a/libxslt/libxslt.h | ||
+++ b/libxslt/libxslt.h | ||
@@ -23,7 +23,7 @@ | ||
#endif | ||
#endif | ||
|
||
-#if defined(_WIN32) && !defined (__MINGW32__) | ||
+#if defined(_WIN32) && !defined (__MINGW32__) && 0 | ||
#include <win32config.h> | ||
#else | ||
#include "config.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index fb352475..dd306465 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -242,7 +242,6 @@ set_target_properties( | ||
IMPORT_PREFIX lib | ||
OUTPUT_NAME xslt | ||
POSITION_INDEPENDENT_CODE ON | ||
- PREFIX lib | ||
VERSION ${PROJECT_VERSION} | ||
SOVERSION ${LIBXSLT_MAJOR_VERSION} | ||
) | ||
@@ -335,7 +334,6 @@ set_target_properties( | ||
IMPORT_PREFIX lib | ||
OUTPUT_NAME exslt | ||
POSITION_INDEPENDENT_CODE ON | ||
- PREFIX lib | ||
VERSION ${LIBEXSLT_VERSION} | ||
SOVERSION ${LIBEXSLT_MAJOR_VERSION} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index fb352475..1d8270f1 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -526,6 +524,10 @@ set(EXSLT_INCLUDEDIR "-I\${includedir}") | ||
set(EXSLT_LIBDIR "-L\${libdir}") | ||
set(EXSLT_PRIVATE_LIBS "${XSLT_PRIVATE_LIBS} ${LIBGCRYPT_LIBS} ${LIBM}") | ||
|
||
+if(NOT LIBXSLT_SHARED) | ||
+ set(LIBXSLT_CFLAGS -DLIBXSLT_STATIC) | ||
+endif() | ||
+ | ||
file(RELATIVE_PATH PACKAGE_RELATIVE_PATH "${CMAKE_INSTALL_FULL_LIBDIR}/pkgconfig" "${CMAKE_INSTALL_PREFIX}") | ||
string(REGEX REPLACE "/$" "" PACKAGE_RELATIVE_PATH "${PACKAGE_RELATIVE_PATH}") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters