summaryrefslogtreecommitdiff
path: root/pkg.h
diff options
context:
space:
mode:
Diffstat (limited to 'pkg.h')
-rw-r--r--pkg.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkg.h b/pkg.h
index e7d920f..984a461 100644
--- a/pkg.h
+++ b/pkg.h
@@ -26,6 +26,17 @@
#include "glib-1.2.10/glib.h"
#endif
+#ifdef G_OS_WIN32
+/* No hardcoded paths in the binary, thanks */
+/* It's OK to leak this */
+#undef PKG_CONFIG_PC_PATH
+#define PKG_CONFIG_PC_PATH \
+ g_strconcat (g_win32_get_package_installation_subdirectory (NULL, NULL, "lib/pkgconfig"), \
+ ";", \
+ g_win32_get_package_installation_subdirectory (NULL, NULL, "share/pkgconfig"), \
+ NULL)
+#endif
+
typedef enum
{
LESS_THAN,