summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2012-02-20 20:05:38 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2012-02-20 20:05:38 +0000
commit33ac9b11e89dec66a93760ad697b42cbdbd996fb (patch)
tree9d4cc0e20a39e284de06b99c8f11cec89148f520 /gnustep-base/gnustep-make/files/testlibobjc.m
parenthttp://my.opera.com/desktopteam/blog/2012/02/20/12-00-wahoo-stability-improve... (diff)
downloadhistorical-33ac9b11e89dec66a93760ad697b42cbdbd996fb.tar.gz
historical-33ac9b11e89dec66a93760ad697b42cbdbd996fb.tar.bz2
historical-33ac9b11e89dec66a93760ad697b42cbdbd996fb.zip
Also test libobjc.so.3 (from >=gcc-4.6), rework pkg_setup. Fixes bug #404957, gnustep-updater can handle libobjc.so.3
Package-Manager: portage-2.2.0_alpha87/cvs/Linux x86_64
Diffstat (limited to 'gnustep-base/gnustep-make/files/testlibobjc.m')
-rw-r--r--gnustep-base/gnustep-make/files/testlibobjc.m10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnustep-base/gnustep-make/files/testlibobjc.m b/gnustep-base/gnustep-make/files/testlibobjc.m
new file mode 100644
index 000000000000..225113c24d7e
--- /dev/null
+++ b/gnustep-base/gnustep-make/files/testlibobjc.m
@@ -0,0 +1,10 @@
+/**
+ * Use "gcc -Werror -Wl,-l:libobjc.so.x testlibobjc.m -o /dev/null"
+ * #import generates a warning with non-objc
+ */
+#import <stdio.h>
+
+int main( int argc, const char *argv[] ) {
+ printf("Linker test\n");
+ return 0;
+}