ObjFW  Check-in [7c33f33d80]

Overview
Comment:Fix linking tests for Wii U
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | objfwtest
Files: files | file ages | folders
SHA3-256: 7c33f33d809a6b0b91a4803b745e702dfe9eb8ebec40ecbc918175686b61cebf
User & Date: js on 2024-02-11 09:33:25
Other Links: branch diff | manifest | tags
Context
2024-02-11
12:06
Merge trunk into branch "objfwtest" check-in: 4b635088b6 user: js tags: objfwtest
09:33
Fix linking tests for Wii U check-in: 7c33f33d80 user: js tags: objfwtest
2024-02-10
15:32
Migrate OFPropertyListTests to ObjFWTest check-in: 30f4a8d985 user: js tags: objfwtest
Changes

Modified new_tests/Makefile from [013af67a80] to [b432a17b87].

120
121
122
123
124
125
126



127






128
129

CPPFLAGS += -I../src				\
	    -I../src/exceptions			\
	    -I../src/runtime			\
	    -I../src/test			\
	    -I..				\
	    -DOBJFWTEST_LOCAL_INCLUDES



LIBS := -L../src/test -lobjfwtest ${TESTS_LIBS} ${LIBS}






LDFLAGS += ${MAP_LDFLAGS}
LD = ${OBJC}







>
>
>
|
>
>
>
>
>
>


120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138

CPPFLAGS += -I../src				\
	    -I../src/exceptions			\
	    -I../src/runtime			\
	    -I../src/test			\
	    -I..				\
	    -DOBJFWTEST_LOCAL_INCLUDES
# Repetition is required for Wii U, as otherwise it cannot find main. Just
# moving -lobjfwtest later doesn't work either, as then the linker cannot find
# ObjFW symbols. So the only solution is to list everything twice.
LIBS := -L../src/test	\
	-lobjfwtest	\
	${TESTS_LIBS}	\
	${LIBS}		\
	-lobjfwtest	\
	${TESTS_LIBS}	\
	${LIBS}
LDFLAGS += ${MAP_LDFLAGS}
LD = ${OBJC}