1 # |
1 # |
2 # Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. |
7 # published by the Free Software Foundation. |
366 # |
366 # |
367 ifeq ($(OS_VENDOR), Darwin) |
367 ifeq ($(OS_VENDOR), Darwin) |
368 # Standard linker flags |
368 # Standard linker flags |
369 LFLAGS += |
369 LFLAGS += |
370 |
370 |
371 # Darwin doesn't use ELF and doesn't support version scripts |
371 # The apple linker has its own variant of mapfiles/version-scripts |
372 LDNOMAP = true |
372 MAPFLAG = -Xlinker -exported_symbols_list -Xlinker FILENAME |
373 |
373 |
374 # Use $(SONAMEFLAG:SONAME=soname) to specify the intrinsic name of a shared obj |
374 # Use $(SONAMEFLAG:SONAME=soname) to specify the intrinsic name of a shared obj |
375 SONAMEFLAG = |
375 SONAMEFLAG = |
376 |
376 |
377 # Build shared library |
377 # Build shared library |