diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-04-07 13:46:59 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-05-29 07:24:42 +0200 |
commit | 5eff0b6c58c9a033e4794d9de76fcd777e49d09d (patch) | |
tree | 8d2508c1b0048d3a604264dd93054333267a0352 /RepositoryExternal.mk | |
parent | 7a72abad2326bbb15843d35f579ae6f4e2fb947a (diff) |
improve odbc headers handling
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 5037f29200c7..34b005e3cdd1 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -48,6 +48,24 @@ endef endif +ifeq ($(SYSTEM_ODBC_HEADERS),YES) + +define gb_LinkTarget__use_odbc_headers +$(call gb_LinkTarget_add_defs,$(1),\ + -DSYSTEM_ODBC_HEADERS \ +) + +endef + +else + +define gb_LinkTarget__use_odbc_headers +$(call gb_LinkTarget_use_package,$(1),odbc_inc) + +endef + +endif + ifeq ($(SYSTEM_CPPUNIT),YES) define gb_LinkTarget__use_cppunit |