Update of /cvsroot/liboss/liboss/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv1554/lib
Modified Files:
Makefile.am esddsp.c
Log Message:
It now compiles. Also, I made it so it should dlopen() libc.so on non-Darwin platforms, so this should, theorectically, be cross-platform. Someone go try it.
Index: Makefile.am
===================================================================
RCS file: /cvsroot/liboss/liboss/lib/Makefile.am,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- Makefile.am 11 Jan 2003 19:33:10 -0000 1.24
+++ Makefile.am 11 Jan 2003 23:55:59 -0000 1.25
@@ -2,7 +2,7 @@
## Process this file with automake to produce Makefile.in
##
-AM_CFLAGS = $(ESD_INCS) $(COREAUDIO_CFLAGS) $(DLSYM_UNDERSCORE) -DLIBOSS_INTERNAL
+AM_CFLAGS = $(ESD_INCS) $(COREAUDIO_CFLAGS) $(DLSYM_UNDERSCORE) -DLIBOSS_INTERNAL -DSYSTEM_LIB=\"@SYSTEMLIB@\"
lib_LTLIBRARIES = liboss.la libossins.la
@@ -17,7 +17,6 @@
libossins_la_LIBADD = liboss.la
libossins_la_LDFLAGS = -export-dynamic \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) $(ESD_LDFLAGS)
-libossins_la_CFLAGS = -fomit-frame-pointer
include_HEADERS =
Index: esddsp.c
===================================================================
RCS file: /cvsroot/liboss/liboss/lib/esddsp.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- esddsp.c 6 Jan 2003 21:52:57 -0000 1.22
+++ esddsp.c 11 Jan 2003 23:55:59 -0000 1.23
@@ -168,7 +168,7 @@
#ifndef HAVE_SYS_SYSCALL_H
if (!acquired_handle)
{
- libSystem_handle = dlopen("/usr/lib/libSystem.dylib",RTLD_LAZY);
+ libSystem_handle = dlopen(SYSTEM_LIB,RTLD_LAZY);
acquired_handle = 1;
}
#endif
|