summaryrefslogtreecommitdiff
path: root/recipes/pthsem/files
diff options
context:
space:
mode:
authorDirk Opfer <dirk@do13.de>2009-04-22 10:23:41 +0200
committerDirk Opfer <dirk@do13.de>2009-04-22 10:23:41 +0200
commit6a64f6e927dd42d4d91cb6679cca04ce1ab65f47 (patch)
treef391376f2cb78772ecaeba3b763909a8eab49ef5 /recipes/pthsem/files
parentee7238c8c15d7163290b3b79f2e8981bfd351ae6 (diff)
pthsem: new recipe, version 2.0.7
GNU Portable Threads replacement with semaphore support
Diffstat (limited to 'recipes/pthsem/files')
-rw-r--r--recipes/pthsem/files/ldflags.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/pthsem/files/ldflags.patch b/recipes/pthsem/files/ldflags.patch
new file mode 100644
index 0000000000..74fd60b4f8
--- /dev/null
+++ b/recipes/pthsem/files/ldflags.patch
@@ -0,0 +1,16 @@
+diff -urN pth-2.0.2.orig/Makefile.in pth-2.0.2/Makefile.in
+--- pth-2.0.2.orig/Makefile.in 2004-07-13 10:48:10.000000000 +0000
++++ pth-2.0.2/Makefile.in 2009-04-06 12:12:37.000000000 +0000
+@@ -168,10 +168,10 @@
+
+ # build the static and possibly shared libraries
+ libpthsem.la: $(LOBJS)
+- $(LIBTOOL) --mode=link --quiet $(CC) -o libpthsem.la $(LOBJS) \
++ $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o libpthsem.la $(LOBJS) \
+ -rpath $(libdir) -version-info `$(SHTOOL) version -lc -dlibtool $(_VERSION_FILE)`
+ libpthread.la: pthread.lo $(LOBJS)
+- $(LIBTOOL) --mode=link --quiet $(CC) -o libpthread.la pthread.lo $(LOBJS) \
++ $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o libpthread.la pthread.lo $(LOBJS) \
+ -rpath $(libdir) -version-info `$(SHTOOL) version -lc -dlibtool $(_VERSION_FILE)`
+
+ # build the manual pages