repositories
/
TD_C.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af2ef71
)
TP_13 exo2: filter out the local library name for cygwin build
author
Jerome Benoit
<jerome.benoit@sap.com>
Fri, 12 May 2017 21:57:40 +0000
(23:57 +0200)
committer
Jerome Benoit
<jerome.benoit@sap.com>
Fri, 12 May 2017 21:57:40 +0000
(23:57 +0200)
Signed-off-by: Jerome Benoit <jerome.benoit@sap.com>
TP_13/exo2/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/TP_13/exo2/Makefile
b/TP_13/exo2/Makefile
index 8dab395969d92bf4cbae75d57106edbeeed5f7b5..a2a7103286760cd6abfffb90b2459ea4660bc671 100644
(file)
--- a/
TP_13/exo2/Makefile
+++ b/
TP_13/exo2/Makefile
@@
-80,7
+80,7
@@
LDLIBS := $(filter-out -ltinfo,$(LDLIBS))
BINARY_SUFFIX := .exe
DLIB_SUFFIX := .dll
# do not archive external libraries
-CYGWIN_LDLIBS_NOARCHIVE := $(
LDLIBS
)
+CYGWIN_LDLIBS_NOARCHIVE := $(
filter-out -l$(BINARY_NAME),$(LDLIBS)
)
CYGWIN_LIBLDFLAGS := -Wl,--out-implib=$(LIBRARY_PATH)/$(DLIB_PREFIX)$(LIBRARY_NAME)$(DLIB_SUFFIX).a \
-Wl,--export-all-symbols \
-Wl,--enable-auto-import