summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comphelper/Package_inc.mk1
-rw-r--r--tools/Executable_rscdep.mk3
2 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/Package_inc.mk b/comphelper/Package_inc.mk
index 7c0c3fa71474..dcfb4954efb1 100644
--- a/comphelper/Package_inc.mk
+++ b/comphelper/Package_inc.mk
@@ -26,6 +26,7 @@
#*************************************************************************
$(eval $(call gb_Package_Package,comphelper_inc,$(SRCDIR)/comphelper/inc))
+$(eval $(call gb_Package_add_file,comphelper_inc,inc/comphelper/flagguard.hxx,comphelper/flagguard.hxx))
$(eval $(call gb_Package_add_file,comphelper_inc,inc/comphelper/stlunosequence.hxx,comphelper/stlunosequence.hxx))
$(eval $(call gb_Package_add_file,comphelper_inc,inc/comphelper/documentconstants.hxx,comphelper/documentconstants.hxx))
$(eval $(call gb_Package_add_file,comphelper_inc,inc/comphelper/evtmethodhelper.hxx,comphelper/evtmethodhelper.hxx))
diff --git a/tools/Executable_rscdep.mk b/tools/Executable_rscdep.mk
index abde9af09dfa..8d8c55fa585d 100644
--- a/tools/Executable_rscdep.mk
+++ b/tools/Executable_rscdep.mk
@@ -56,13 +56,12 @@ $(eval $(call gb_Executable_add_exception_objects,rscdep,\
))
ifeq ($(OS),WNT)
-ifneq ($(USE_MINGW),)
ifeq ($(HAVE_GETOPT),YES)
$(eval $(call gb_Executable_set_cxxflags,rscdep,\
$$(CXXFLAGS) \
-DHAVE_GETOPT \
))
-endif
+else
$(eval $(call gb_Executable_add_linked_libs,rscdep,\
gnu_getopt \
))